/* PALETA GOOGLE & TEMA NO TOM EXATO DA LOGO */
:root {
  --bg-light: #f5f4ef; /* TOM EXATO DO FUNDO DA SUA LOGO */
  --bg-card: #ffffff;
  --google-blue: #1a73e8;
  --google-red: #ea4335;
  --google-yellow: #fbbc04;
  --google-green: #1e8e3e;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-light) !important;
  color: var(--text-main);
  overflow-x: hidden;
}

/* TELA DE ABERTURA / LOGO NO MEIO DA TELA */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 20px;
}

.splash-logo {
  max-width: 320px;
  width: 80vw;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Faz o fundo da imagem sumir e se fundir com o site */
  animation: pulseLogo 2s infinite ease-in-out;
}

.btn-enter {
  padding: 14px 32px;
  background: var(--google-blue);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-enter:hover {
  transform: scale(1.05);
  background: #1557b0;
}

@keyframes pulseLogo {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* CANVAS DE FUNDO (PARTÍCULAS EM MOVIMENTO) */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* CORES GOOGLE DA MARCA */
.txt-blue { color: var(--google-blue); }
.txt-red { color: var(--google-red); }
.txt-yellow { color: #d97706; }
.txt-green { color: var(--google-green); }

.bg-blue { background: var(--google-blue); }
.bg-red { background: var(--google-red); }
.bg-yellow { background: var(--google-yellow); }
.bg-green { background: var(--google-green); }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 244, 239, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05);
}

.footer-logo {
  height: 55px;
  margin-bottom: 12px;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--google-blue);
}

.nav-social-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons-nav {
  display: flex;
  gap: 12px;
}

.social-icons-nav a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons-nav a:hover {
  color: var(--google-blue);
  transform: translateY(-2px);
}

/* BOTÕES ESTILO GOOGLE */
.btn {
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.btn-google-green {
  background: var(--google-green);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 142, 62, 0.25);
}

.btn-google-blue {
  background: var(--google-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  border-color: var(--google-blue);
  color: var(--google-blue);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* HERO SECTION */
.hero {
  padding: 80px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

/* ESTILO DA LOGOMARCA NO HERO PRINCIPAL - CENTRALIZADO */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza tudo no meio */
  text-align: center;
}

.hero-logo-wrapper {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-main-logo {
  max-width: 250px; /* Aumentado de 220 para 250 para ficar com mais presença */
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Para integrar perfeitamente com a cor do fundo */
}

.badge-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--google-green);
  background: rgba(30, 142, 62, 0.08);
  border: 1px solid rgba(30, 142, 62, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pulse-green {
  width: 8px;
  height: 8px;
  background: var(--google-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--google-green);
  animation: blink 1.5s infinite;
}

@keyframes blink { 50% { opacity: 0.3; } }

.hero-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.txt-gradient { color: #d97706; }

.cursor {
  animation: blink 0.8s infinite;
  color: var(--google-blue);
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  justify-content: center; /* Botões centralizados */
  gap: 15px;
}

/* CARD GLASSMORPHISM NO HERO */
.glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.card-header-bar {
  background: #f1f5f9;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.circle { width: 10px; height: 10px; border-radius: 50%; }
.circle.r { background: var(--google-red); }
.circle.y { background: var(--google-yellow); }
.circle.g { background: var(--google-green); }

.preview-url {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-body-content {
  padding: 30px;
  text-align: center;
}

.live-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: var(--text-main);
  font-weight: 600;
}

.metric-box h3 {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--google-blue);
}

.metric-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.75rem;
  color: #d97706;
  font-weight: 700;
}

/* SEÇÃO MÓDULOS */
.services {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--text-main);
}

.section-title p {
  color: var(--text-muted);
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); }

.border-b:hover { border-color: var(--google-blue); }
.border-r:hover { border-color: var(--google-red); }
.border-y:hover { border-color: var(--google-yellow); }
.border-g:hover { border-color: var(--google-green); }

.s-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-main); }
.service-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* PORTFÓLIO E FILTROS */
.portfolio {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--google-blue);
  color: white;
  border-color: var(--google-blue);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.model-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
}

.model-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.item-preview {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.item-icon { font-size: 3rem; color: rgba(255, 255, 255, 0.95); }

.preview-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ESTILOS DE TEMA DOS SITES */
.theme-music { background: linear-gradient(135deg, #312e81, #4f46e5); }
.theme-pet { background: linear-gradient(135deg, #78350f, #d97706); }
.theme-salon { background: linear-gradient(135deg, #831843, #db2777); }
.theme-barber { background: linear-gradient(135deg, #1c1917, #44403c); }
.theme-law { background: linear-gradient(135deg, #0f172a, #334155); }
.theme-vet { background: linear-gradient(135deg, #064e3b, #059669); }
.theme-auto { background: linear-gradient(135deg, #27272a, #dc2626); }
.theme-eletronica { background: linear-gradient(135deg, #0284c7, #0f172a); }
.theme-restaurant { background: linear-gradient(135deg, #b91c1c, #d97706); }
.theme-build { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.theme-realestate { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.theme-market { background: linear-gradient(135deg, #14532d, #16a34a); }

.item-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.item-details h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-main); }
.item-details p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; flex-grow: 1; }

.item-buttons {
  display: flex;
  gap: 10px;
}

.btn-view, .btn-buy-sm {
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
}

.btn-view { background: #f1f5f9; color: var(--text-main); border: 1px solid #cbd5e1; }
.btn-view:hover { background: #e2e8f0; }
.btn-buy-sm { background: var(--google-green); color: white; margin-left: auto; }

/* MODAL DE DEMO */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--google-blue);
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: rgba(245, 244, 239, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.f-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-phone {
  margin-top: 8px;
  color: var(--google-green) !important;
  font-weight: 600;
}

.f-social h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.social-links-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soc-btn {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.soc-btn.fb:hover { color: #1877f2; }
.soc-btn.ig:hover { color: #e4405f; }
.soc-btn.wa:hover { color: #25d366; }

.f-copy {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: var(--google-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(30, 142, 62, 0.4);
  z-index: 999;
  text-decoration: none;
}

/* RESPONSIVO */
.hamburger { display: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  /* (As regras de centralizar do celular foram movidas para a classe principal para funcionar em tudo) */
  .hamburger { display: block; }
  .social-icons-nav { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #f5f4ef;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  .nav-links.active { display: flex; }
}