/* ============================================
   DESPACHANTE - ESTILO PRINCIPAL
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary: #2a6f56;
  --primary-light: #3fa681;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1a2332;
  --muted: #f1f5f3;
  --muted-foreground: #5f6d7a;
  --border: #dce8e2;
  --card: #ffffff;
  --card-gradient: linear-gradient(145deg, #ffffff, #f6f9f8);
  --shadow-card: 0 4px 24px -4px rgba(42, 111, 86, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 40px -8px rgba(42, 111, 86, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  --hero-overlay: #0d1b2a;
  --section-dark: #121c26;
  --section-dark-fg: #f2f2f2;
  --gold: #d4a535;
  --radius: 0.75rem;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.32, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Gradient Text --- */
.text-gradient {
  background: linear-gradient(135deg, #2a6f56, #3fa681);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-foreground);
  transition: var(--transition);
}

.navbar.scrolled .logo {
  color: var(--foreground);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--muted-foreground);
}

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

.nav-cta {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--primary) !important;
  color: white !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-light) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: white;
  transition: var(--transition);
}

.navbar.scrolled .menu-toggle span {
  background: var(--foreground);
}

/* --- HERO --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 27, 42, 0.75),
    rgba(13, 27, 42, 0.55),
    rgba(13, 27, 42, 0.8));
}

.hero-glow-1 {
  position: absolute;
  top: 80px;
  left: 40px;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: rgba(42, 111, 86, 0.1);
  filter: blur(48px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: rgba(42, 111, 86, 0.05);
  filter: blur(48px);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero .hero-slogan {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-hero {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(42, 111, 86, 0.35);
}

.btn-hero:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42, 111, 86, 0.45);
}

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

.btn-hero-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-stars .stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: 1.1rem;
}

.hero-stars span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s infinite;
  z-index: 10;
  font-size: 1.3rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- SECTION BASE --- */
.section {
  padding: 64px 0;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 12px;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--muted-foreground);
  margin-top: 12px;
  font-size: 1.1rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* --- STATS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.stat-card {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  background: var(--card-gradient);
  box-shadow: var(--shadow-card);
}

.stat-card .stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 8px;
}

/* --- SOBRE --- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-content .section-label {
  display: block;
  margin-bottom: 4px;
}

.sobre-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.sobre-content p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.sobre-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.sobre-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.sobre-list li .check-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.sobre-image {
  position: relative;
}

.sobre-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-card-hover);
}

.sobre-image .experience-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--primary);
  color: white;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(42, 111, 86, 0.35);
}

.experience-badge .exp-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 2px;
}

/* --- SERVIÇOS --- */
.section-services {
  background: var(--muted);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.servico-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid transparent;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(42, 111, 86, 0.12);
}

.servico-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.servico-card .card-body {
  padding: 24px;
}

.servico-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.servico-card p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* --- DEPOIMENTOS --- */
.section-testimonials {
  background: var(--section-dark);
  color: var(--section-dark-fg);
}

.section-testimonials .section-title {
  color: var(--section-dark-fg);
}

.section-testimonials .section-label {
  color: var(--primary-light);
}

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

.testimonial-card {
  padding: 32px;
  border-radius: 16px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(242, 242, 242, 0.1);
  backdrop-filter: blur(8px);
}

.testimonial-card .quote-icon {
  font-size: 1.8rem;
  color: rgba(63, 166, 129, 0.4);
  margin-bottom: 12px;
  font-style: normal;
}

.testimonial-card .testimonial-text {
  color: rgba(242, 242, 242, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-footer .author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-footer .author-role {
  font-size: 0.75rem;
  color: rgba(242, 242, 242, 0.5);
  margin-top: 2px;
}

.testimonial-footer .stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.85rem;
}

/* --- CONTATO --- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contato-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--card-gradient);
  box-shadow: var(--shadow-card);
}

.contato-item .icon-box {
  padding: 12px;
  border-radius: 10px;
  background: rgba(42, 111, 86, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.contato-item .icon-box i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.contato-item .item-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  font-weight: 500;
}

.contato-item .item-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 2px;
  word-break: break-word;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.social-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: var(--transition);
  text-transform: capitalize;
}

.social-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.contato-form {
  padding: 32px;
  border-radius: 16px;
  background: var(--card-gradient);
  box-shadow: var(--shadow-card);
}

.contato-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 111, 86, 0.25);
  border-color: var(--primary);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--primary-light);
}

/* --- FOOTER --- */
.footer {
  background: var(--section-dark);
  color: var(--section-dark-fg);
  padding: 48px 0;
  border-top: 1px solid rgba(242, 242, 242, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(242, 242, 242, 0.4);
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(242, 242, 242, 0.6);
  line-height: 1.7;
  max-width: 420px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(242, 242, 242, 0.5);
  transition: var(--transition);
  text-transform: capitalize;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(242, 242, 242, 0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(242, 242, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(242, 242, 242, 0.4);
}

.footer-bottom .cnpj {
  color: rgba(242, 242, 242, 0.3);
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- RESPONSIVO --- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links.active a {
    color: var(--foreground) !important;
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 16px;
  }

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

  .section {
    padding: 48px 0;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-card .stat-value {
    font-size: 1.75rem;
  }

  .sobre-grid,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-content {
    order: 2;
  }

  .sobre-image {
    order: 1;
  }

  .sobre-image img {
    height: 280px;
  }

  .sobre-content h2 {
    font-size: 1.75rem;
  }

  .experience-badge {
    bottom: -16px !important;
    left: -8px !important;
    padding: 14px 18px !important;
  }

  .experience-badge .exp-number {
    font-size: 1.5rem !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

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