/* =====================================================================
   Lopes DSGN — folha de estilo única
   (substitui style.css, menu-footer.css e os <style> inline das páginas)
   Seções: 1 Base · 2 Navbar · 3 Hero · 4 Home · 5 Cards/Carrossel ·
           6 Projetos · 7 Rodapé/WhatsApp · 8 Páginas · 9 Responsivo
   ===================================================================== */

/* ===== 1. BASE ===== */
body { margin: 0; background: #000; }

:focus-visible { outline: 2px solid #c9beff; outline-offset: 3px; }

.footer-divider {
  border: none;
  height: 2px;
  background: #7B61FF;
  width: 100%;
  margin: 32px 0 24px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 2. NAVBAR ===== */
.navbar {
  height: 72px;
  background: #111;
  border-bottom: 1px solid #7b61ff46;
  position: relative;
  z-index: 9999;
}
.navbar-brand { font-weight: 700; color: #fff !important; display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 36px; width: auto; }
.nav-link { color: #fff !important; margin: 0 10px; }
.nav-link:hover,
.nav-link.active { border-bottom: 2px solid #7B61FF; color: #ffffffb2 !important; }

.btn-menu {
  border: 1px solid #fff;
  color: #fff;
  border-radius: 30px;
  padding: 6px 16px;
}
.btn-menu:hover { background-color: #7B61FF; color: #fff; }
.btn-cta { border-radius: 30px; padding: 6px 18px; font-weight: 500; }

/* ===== 3. HERO ===== */
.banner-wrapper {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #111;
}
.banner-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.2s ease-in-out;
  opacity: 1;
}
.banner-wrapper img.fade-out { opacity: 0; }

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.35));
  z-index: 1;
}
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  padding: 20px;
  border-radius: 12px;
  max-width: 493px;
  width: 90%;
  color: #fff;
}
.banner-content h1 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.banner-content h1 span { color: #7B61FF; }
.banner-content .btn {
  background: #7B61FF;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 500;
}
.banner-content .btn:hover { background: #5641c0; color: #fff; }

/* ===== 4. HOME: texto, contadores, bloco estratégico ===== */
.counter-box {
  border: 1px solid #fff;
  padding: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.text-t { padding: 0 10%; font-size: 1.1rem; }

.counter, .counter-label {
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.counter-label { font-weight: 400; }

.strategy-wrapper { min-height: 520px; }
.strategy-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}
.strategy-image img,
.strategy-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s ease;
  user-select: none;
}
.strategy-title { line-height: 1.4; font-weight: 700; }
.strategy-bar { width: 230px; height: 2px; background: #7b61ff; margin: 12px 0 18px; }
.strategy-subtitle { font-weight: 500; margin-bottom: 16px; }
.strategy-text { color: #bdbdbd; line-height: 1.7; }

.btn-strategy,
.btn-tela {
  background: #7B61FF;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 500;
}
.btn-strategy:hover,
.btn-tela:hover { background: #5641c0; color: #fff; }

.lead-purple { color: #c9beff; }

/* ===== 5. CARDS + CARROSSEL ===== */
.cards-carousel {
  position: relative;
  overflow: hidden;      /* impede rolagem horizontal */
  padding-bottom: 70px;  /* espaço para as setas embaixo */
}
.cards-carousel .carousel-inner,
.cards-carousel .carousel-item { overflow: visible; }
.carousel-padding { padding: 0 40px; }

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  padding: 0;
  height: 100%;
  text-decoration: none;
  text-align: center;
  color: #000;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px #7b61ff80;
  color: #000;
}

.img-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.img-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.card-video { display: block; width: 100%; height: auto; object-fit: cover; background: #111; }

.product-card .product-title { font-size: 22px; font-weight: 600; margin: 0 0 3px; line-height: 1.2; }
.category {
  padding: 5px;
  color: #767676;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
}
.descrp { font-size: .7rem; color: #111; line-height: 1; margin-bottom: 10px; }
.old-price { font-size: .85rem; color: #6b6b6b; text-decoration: line-through; margin: 0; }
.old-price-2 { font-size: .85rem; color: #6b6b6b; margin: 0; }
.price { font-size: 1.5rem; font-weight: bolder; color: #000; }

.cards-carousel .custom-arrow {
  position: absolute;
  top: auto;
  width: 46px;
  height: 46px;
  background: transparent;
  color: #fff;
  border: 1px solid #7b61ff;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  z-index: 10;
}
.cards-carousel .carousel-control-prev { left: 50%; transform: translateX(-120%); }
.cards-carousel .carousel-control-next { left: 50%; transform: translateX(20%); }
.cards-carousel .custom-arrow svg { display: block; }

/* ===== 6. PROJETOS (grade de capas) ===== */
.imagem-projetos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.banner-projeto { max-width: 360px; width: 100%; height: auto; display: block; margin: auto; }
.image { margin: 2px; position: relative; }
.image a { display: block; }
.contenttt {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: #000000cc;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: .6s;
  cursor: pointer;
}
.contenttt:hover,
.image a:focus-visible .contenttt { opacity: 1; }
.contenttt .proj-name { font-size: 22px; font-weight: 500; color: #fff; margin: 0 0 .5rem; line-height: 1.2; }
.contenttt p { font-size: 12px; font-weight: 300; color: #fff; margin-bottom: 16px; }

/* ===== 7. WHATSAPP + RODAPÉ ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  text-decoration: none;
}
.whatsapp-float:hover { background: #1ebe5d; color: #fff; }

.footer-custom { background-color: #0c0c0c; border-top: 1px solid #7b61ff52; }
.footer-custom a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer i { transition: color .2s ease; }
footer i:hover { color: #7B61FF; }
.ft-border:hover { border-bottom: 1px solid #7B61FF; text-decoration: none; }
.f-color { color: #c9beff; }
.copyright { color: #a9a9b3; }

/* ===== 8. PÁGINAS ===== */

/* — Quem somos — */
.page-quem-somos .text-t { padding: 0 20%; font-size: 1.1rem; line-height: 2; }
.client-logo { max-width: 140px; width: 100%; height: auto; opacity: .85; transition: all .3s ease; }
.client-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.service-item {
  height: 100%;
  padding: 30px 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background-color: rgba(255,255,255,.02);
  transition: all .3s ease;
}
.service-item:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-6px);
  background-color: rgba(255,255,255,.05);
}
.service-item img { max-width: 25%; height: auto; }

/* — Contato — */
.formulario-dark { background-color: #0f0f0f; padding: 80px 20px; }
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #151515;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}
.form-container h1 { color: #fff; text-align: center; margin-bottom: 10px; }
.form-container p { color: #c9beff; text-align: center; margin-bottom: 30px; }
.form-container iframe {
  width: 100%;
  height: 900px;
  border: none;
  border-radius: 12px;
  background: #fff;
}

/* — Produto — */
.main-image { width: 100%; }
.main-image img,
.main-image video { display: block; width: 100%; height: auto; }
.installments { margin-bottom: 0; color: #c9beff; }
.installments s { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .85; }
.crumbs { font-size: .85rem; color: #bdbdbd; margin-bottom: 1.5rem; }
.crumbs a { color: #c9beff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.related { background: #0c0c0c; }

/* — Projeto (detalhe) — */
.projeto-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 60px 0 40px;
  border-bottom: 2px solid #7b61ff42;
}
.projeto-title { font-size: 2.5rem; font-weight: 700; color: #fff; }
.projeto-subtitle {
  display: inline-block;
  border-radius: 40px;
  padding: 6px 40px;
  border: 1px solid #fff;
  color: #c9beff;
  background: transparent;
  font-size: 1rem;
}
.page-projeto .text-t { padding: 0 9%; font-size: 1rem; line-height: 2; color: #fff; }
.btn-voltar {
  background: transparent;
  border: 1px solid #7B61FF;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  transition: all .3s ease;
}
.btn-voltar:hover { background: #7B61FF; color: #fff; }

.mockup-section { background: #0c0c0c; padding: 40px 0; }
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.artes-section { background: #000; padding: 40px 0 60px; }
.section-title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #7B61FF;
  display: inline-block;
  width: 100%;
}
.artes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* itens clicáveis (botões) das galerias */
.banner-item,
.arte-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.banner-item { border-radius: 12px; aspect-ratio: 16 / 9; background: #111; }
.banner-item:hover { transform: scale(1.02); box-shadow: 0 8px 30px rgba(123,97,255,.3); }
.banner-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arte-item { border-radius: 8px; background: #111; }
.arte-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(123,97,255,.4); }
.arte-item img { width: 100%; height: auto; display: block; }

/* modal de imagem ampliada */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background-color: rgba(0,0,0,.95);
  justify-content: center;
  align-items: center;
}
.image-modal.active { display: flex; }
.modal-content-img { max-width: 90%; max-height: 90vh; object-fit: contain; }
.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
}
.modal-close:hover { color: #7B61FF; }

/* — 404 — */
.page-404 .nf { text-align: center; padding: 120px 20px; color: #fff; }
.page-404 .nf .code { font-size: 5rem; font-weight: 800; color: #7B61FF; line-height: 1; }

/* ===== 9. RESPONSIVO ===== */
@media (max-width: 992px) {
  .page-quem-somos .text-t { padding: 10px 5%; }
  .service-item { padding: 24px 16px; }
}

@media (max-width: 991px) {
  .banner-wrapper { height: 300px; }
  .banner-content h1 { font-size: 1.8rem; }

  .footer-mobile { text-align: center; }
  .footer-icon { display: flex !important; justify-content: center !important; }

  .strategy-image-mob { width: 45%; margin: 0 auto; border-radius: 20px; }
  .idv-mobile { text-align: center; }
  .strategy-bar { width: 100%; }

  .product-card .product-title { padding: 0 22px; font-size: 15px; }
  .category { font-size: 8px; }
  .descrp { font-size: .6rem; margin-bottom: 8px; padding: 0 10px; }
  .price { font-size: 1.3rem; margin-bottom: .5rem; }

  .navbar-collapse {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    z-index: 9999;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .navbar-nav { align-items: center; }
  .nav-item { width: 100%; }
  .nav-link { display: inline-block; }
  .navbar-collapse .d-flex.gap-2 { justify-content: center; margin-top: 15px; }
}

@media (max-width: 768px) {
  /* produto */
  .main-image { width: 80%; }
  .mobile-img { display: flex; justify-content: center; }
  .mobile-title { margin-top: 1rem; }
  .mobile-info { text-align: center; }
  .mobile-details { padding: 10px 20px; }
  .font-price-mob { font-size: 1.8rem !important; }

  /* projeto */
  .projeto-title { font-size: 1.8rem; }
  .mockup-grid,
  .artes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .cards-carousel { padding-bottom: 90px; }
  .cards-carousel .custom-arrow { width: 40px; height: 40px; font-size: 22px; }
}
