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

:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --secondary: #475569;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-alt: #1e293b;
  --light: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --text: #0f172a;
  --text-light: #475569;
  --text-muted: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.10);
  --gradient-primary: linear-gradient(135deg, #06b6d4, #0891b2);
  --gradient-secondary: linear-gradient(135deg, #475569, #1e293b);
  --gradient-bg: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
}

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

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

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

/* Header Moderno */
.navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  border-radius: 8px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--primary) !important;
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(71, 85, 105, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text);
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo-img {
  width: auto;
  height: 110px;
  max-width: 90vw;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.03);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Hero dividido: texto + card de processo */
.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-text .hero p { margin-left: 0; margin-right: 0; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-visual { display: flex; justify-content: center; }

.hero-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-hover);
  max-width: 320px;
  width: 100%;
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bg-alt);
  border-radius: 12px;
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card-arrow {
  text-align: center;
  color: var(--text-muted);
  padding: 6px 0;
  margin-left: 22px;
}

/* Barra de confiança */
.trust-strip {
  background: var(--dark);
  padding: 1.5rem 0;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-strip-inner div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-strip-inner strong {
  color: #fff;
  font-size: 0.95rem;
}

.trust-strip-inner span {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
}

/* Como Funciona - passo a passo */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.55;
}

.step-card p a {
  color: var(--primary);
  font-weight: 600;
}

/* Categorias */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.1rem 0.75rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.25s ease;
}

.category-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

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

/* Botões Modernos */
.btn {
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--light);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Seções */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards de Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.3);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: var(--bg-alt);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  position: relative;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

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

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.service-card p a {
  color: var(--primary);
  font-weight: 600;
}

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-alt);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(6, 182, 212, 0.85), rgba(71, 85, 105, 0.85));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* CTA antes do footer */
.pre-footer-cta {
  background: var(--gradient-primary);
}

.pre-footer-cta-inner {
  padding: 2.5rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #fff;
}

.pre-footer-cta-inner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pre-footer-cta-inner p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.pre-footer-cta-inner .btn-primary {
  background: #fff;
  color: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: var(--text-light);
}

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

.footer-content-4col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-section h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.3);
  color: inherit;
  text-decoration: none;
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: all 0.3s ease;
  background: var(--bg-alt);
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.product-category {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.product-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Filtros */
.filters {
  display: flex;
  gap: 0.35rem;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 2rem 0;
}

.filters .chip {
  flex-shrink: 1;
  padding: 0.45rem 0.8rem;
  font-size: 12.5px;
  white-space: nowrap;
}

.chip {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.chip:hover,
.chip.is-active {
  background: var(--gradient-primary);
  color: var(--light);
  border-color: transparent;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Animações */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

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

  .hero-logo-img {
    width: auto;
    height: 90px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .section {
    padding: 60px 0;
  }

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

  .navbar-actions {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }

  .pre-footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

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

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

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

  .hero-logo-img {
    width: auto;
    height: 70px;
  }

  .service-card {
    padding: 1.5rem;
  }

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

/* Utilitários */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.my-5 { margin: 3rem 0; }
.py-3 { padding: 1rem 0; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
