/* ============================================
   GESTÃO DE TRÁFEGO PRO - ESTILOS GLOBAIS
   Design: Moderno Corporativo com Gradientes Vibrantes
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: #1e40af;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1e3a8a;
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   NAVBAR
   ============================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #1e40af, #06b6d4, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar-links a {
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #1e40af;
}

@media (max-width: 768px) {
  .navbar-links {
    gap: 0.75rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: linear-gradient(to right, #f97316, #ea580c);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, #ea580c, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
}

.btn-outline:hover {
  background: #f3f4f6;
  border-color: #1e40af;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 8rem;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.95;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 64, 175, 0.4), transparent, rgba(124, 58, 237, 0.4));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #f0f9ff;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 5rem;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.section-title {
  font-size: 2.25rem;
  color: #111827;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.services-content {
  position: relative;
  z-index: 10;
}

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

.service-item {
  padding: 2rem;
  background: linear-gradient(135deg, #eff6ff 0%, #cffafe 100%);
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.service-item:hover {
  border-color: #0284c7;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-item h3 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.service-item p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(124, 58, 237, 0.6), transparent, rgba(30, 58, 138, 0.6));
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.125rem;
  color: #f0f9ff;
  margin-bottom: 2rem;
}

.cta .btn {
  background: white;
  color: #f97316;
  font-weight: 700;
}

.cta .btn:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
  padding: 5rem 0;
  background-color: #f9fafb;
}

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

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 0.25rem;
}

.testimonial-text {
  color: #4b5563;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.testimonial-company {
  font-size: 0.875rem;
  color: #6b7280;
}

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

footer {
  background: linear-gradient(to right, #1e3a8a, #581c87, #1e3a8a);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a,
.footer-section li {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-section a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
}

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

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ============================================
   PAGES COMUNS - PRIVACY, TERMS, CONTACT
   ============================================ */

.page-header {
  background: linear-gradient(to right, #1e40af, #06b6d4, #7c3aed);
  color: white;
  padding: 4rem 0;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  color: #e0f2fe;
}

.page-content {
  padding: 4rem 0;
}

.page-content h2 {
  font-size: 1.75rem;
  color: #111827;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.page-content p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.page-content section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.page-content section:last-child {
  border-bottom: none;
}

.info-box {
  background: linear-gradient(135deg, #eff6ff 0%, #cffafe 100%);
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-top: 2rem;
}

.info-box h3 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 1rem;
}

.info-box p {
  margin-bottom: 0.5rem;
}

.info-box strong {
  color: #1e40af;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  gap: 1rem;
}

.contact-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-icon.phone {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.contact-icon.email {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.contact-icon.location {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.contact-icon.hours {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.contact-card h3 {
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: #4b5563;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-card .subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 1.75rem;
  color: #111827;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: #3b82f6;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-submit {
  width: 100%;
  background: linear-gradient(to right, #1e40af, #06b6d4);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: linear-gradient(to right, #1e3a8a, #0891b2);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

.form-note {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
}

.success-message {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.success-message .checkmark {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  color: #166534;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #15803d;
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-content h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.modal-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.modal-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-buttons .btn {
  flex: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .navbar-links {
    flex-wrap: wrap;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .features-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }

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

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-links {
    gap: 0.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

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

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

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

.hidden {
  display: none;
}

.visible {
  display: block;
}
