/* ===== VARIÁVEIS ===== */
:root {
  /* Cores */
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #1e293b;
  --accent-color: #22c55e;
  --text-color: #f8fafc;
  --text-dark: #1e293b;
  --light-gray: #e2e8f0;
  --dark-gray: #64748b;
  --bg-color: #0f172a;
  --color-blue: #1d44b8;
  
  /* Fontes */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Espaçamentos */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Bordas */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4 {
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

/* ===== COMPONENTES ===== */
/* Botões */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.cta-button.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

/* Cards */
.service-card,
.testimonial-card,
.portfolio-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.service-card:hover,
.testimonial-card:hover,
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--light-gray);
}

/* ===== SEÇÕES ESPECÍFICAS ===== */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.cta-nav {
  background-color: var(--primary-color);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-md) !important;
  color: white !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--light-gray);
  margin-bottom: var(--space-lg);
}

.trust-badges {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: rgba(37, 99, 235, 0.1);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.badge i {
  color: var(--accent-color);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
}

.hero-image {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-image:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-image img {
  border-radius: 10px;
  display: block;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Services Section */
.services-section {
  padding: var(--space-xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary-color);
  margin-top: auto;
  font-weight: 600;
}

/* Portfolio Section */
.portfolio-section {
  padding: var(--space-xl) 0;
  background-color: var(--secondary-color);
}

.portfolio-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform 0.5s ease;
}

.portfolio-item {
  min-width: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.portfolio-details {
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.portfolio-details h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-color);
}

.portfolio-details p {
  color: var(--light-gray);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  flex: 1;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

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

.view-btn i {
  font-size: 0.8rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-full);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-btn.prev {
  left: var(--space-md);
}

.carousel-btn.next {
  right: var(--space-md);
}

/* About Section */
.about-section {
  padding: var(--space-xl) 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.feature i {
  color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--space-xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-content {
  flex: 1;
  margin-bottom: var(--space-md);
}

.rating {
  color: #fbbf24;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

/* Contact Section */
.contact-section {
  padding: var(--space-xl) 0;
  background-color: var(--secondary-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.info-item i {
  width: 24px;
  color: var(--primary-color);
  text-align: center;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-gray);
  background-color: rgba(255,255,255,0.05);
  color: white;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: var(--space-xl) 0;
  background-color: var(--secondary-color);
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.faq-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

.faq-accordion {
  width: 100%;
}

.faq-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.faq-item.active {
  background-color: rgba(37, 99, 235, 0.1);
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
  color: var(--light-gray);
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-cta p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: var(--space-xl) 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo img {
  width: 100px;
  margin-bottom: var(--space-md);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: white;
}

.footer-links ul li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  transition: color 0.3s ease;
}

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

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.legal-links a {
  color: var(--dark-gray);
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--primary-color);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }