/* =========================================================
   NiceLabel — estilos complementares à base Sommatech
   (reusa style.css; aqui só o que é específico desta página)
   ========================================================= */

/* --- Header: ocupa a largura total da tela, encostando a logo
       no canto esquerdo e os botões no canto direito --- */
.site-header .container {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
}

/* --- Logo no header (somente imagem, sem texto) --- */
.brand.brand-logo-only {
  gap: 0;
}
.brand.brand-logo-only img {
  width: auto;
  height: 72px;
  border-radius: 0;
}

/* --- Botão WhatsApp (verde da marca + ícone, padrão Sommatech) --- */
.button.whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}
.button.whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  opacity: 1;
}
.button.whatsapp .wa-ico {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Ícone branco no balão flutuante do WhatsApp */
.whatsapp-float svg path {
  fill: #ffffff;
}

/* --- Menu de navegação --- */
/* Compensa o header fixo ao rolar até uma seção via link do menu */
section[id] {
  scroll-margin-top: 100px;
}
.site-nav {
  gap: 1.3rem;
}
.site-nav a:not(.button) {
  font-weight: 600;
  white-space: nowrap;
}
.site-nav a:not(.button):hover {
  color: var(--brand-deep);
}

/* --- Botão "Versão de testes" (download), animado --- */
.button.download-trial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: var(--text);
  border-color: var(--brand);
  font-weight: 700;
  animation: trial-pulse 2.2s ease-out infinite;
}
.button.download-trial:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  opacity: 1;
  animation-play-state: paused;
}
.download-trial .dl-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  animation: dl-bounce 1.8s ease-in-out infinite;
}
@keyframes trial-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(189, 214, 0, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(189, 214, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(189, 214, 0, 0); }
}
@keyframes dl-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .button.download-trial,
  .download-trial .dl-ico {
    animation: none;
  }
}

/* --- Nota de avaliação gratuita abaixo dos botões do hero --- */
.hero-trial-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-deep);
}

/* --- CTA / links dentro dos cards --- */
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-deep);
  transition: color 0.2s ease, transform 0.2s ease;
}
.card-link:hover {
  color: var(--text);
  transform: translateX(3px);
}

/* Card vira coluna para encaixar o link no rodapé do card */
.card-grid .service-card {
  display: flex;
  flex-direction: column;
}
.card-grid .service-card p {
  flex: 1;
}

/* --- Grade de 3 colunas (indústrias, integrações, recursos) --- */
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Tags dentro dos cards de indústria --- */
.card-tags {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.card-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* --- Painel de valor (faixa com estatística) --- */
.cta-panel--value {
  background: linear-gradient(135deg, #10213f 0%, #1c3a6e 100%);
  color: #fff;
  align-items: center;
}
/* Impede que os botões estiquem na altura do painel */
.cta-panel--value .hero-actions {
  align-items: center;
}
.cta-panel--value .button {
  align-self: center;
}

/* Botão "Comprar licenças" — ícone de carrinho + animação */
.button.buy-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: buy-pulse 2.4s ease-out infinite;
}
.button.buy-license:hover {
  transform: translateY(-2px);
  animation-play-state: paused;
}
.buy-license .cart-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  animation: cart-bob 1.8s ease-in-out infinite;
}
@keyframes buy-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(189, 214, 0, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(189, 214, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(189, 214, 0, 0); }
}
@keyframes cart-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .button.buy-license,
  .buy-license .cart-ico {
    animation: none;
  }
}
.cta-panel--value h2 { color: #fff; }
.cta-panel--value p { color: rgba(255, 255, 255, 0.82); }
.cta-panel--value .eyebrow { color: var(--brand); }
.cta-panel--value .eyebrow::before { background: var(--brand); }

/* Imagem (tela de ativação) no quadro de licenciamento */
.license-shot {
  margin: 0;
}
.license-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* Lista de pontos do quadro de licenciamento */
.license-points {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.license-points li {
  position: relative;
  padding-left: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}
.license-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--brand);
}

/* --- Mockup decorativo do hero (substitui a foto de produto) --- */
.hero-mockup {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(16, 33, 63, 0.18);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-mockup-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-mockup-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cdd7e6;
}
.hero-mockup-bar span:first-child { background: var(--brand); }
.hero-mockup-body {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 1.5rem;
}
.mock-label {
  flex-shrink: 0;
  width: 130px;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: 8px;
  padding: 0.8rem;
}
.mock-barcode {
  height: 46px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--text) 0,
    var(--text) 2px,
    #fff 2px,
    #fff 4px,
    var(--text) 4px,
    var(--text) 5px,
    #fff 5px,
    #fff 8px
  );
}
.mock-lines {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.35rem;
}
.mock-lines i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--bg-soft);
}
.mock-lines i:nth-child(1) { width: 100%; }
.mock-lines i:nth-child(2) { width: 75%; }
.mock-lines i:nth-child(3) { width: 90%; }
.mock-meta {
  display: grid;
  gap: 0.4rem;
}
.mock-meta strong {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}
.mock-meta span {
  font-size: 0.8rem;
  color: var(--muted);
}
.mock-status {
  color: var(--brand-deep) !important;
  font-weight: 700;
}

/* --- Quadro de produtos --- */
.products-intro {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 640px;
}
.products-logos {
  margin: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-logo-card {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(16, 33, 63, 0.12);
}
.product-logo-card img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

@media (max-width: 760px) {
  .products-logos {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
}

/* --- Demonstração do NiceLabel Designer --- */
.designer-showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.designer-features {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.designer-features li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.designer-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--brand-deep);
}
.designer-shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(16, 33, 63, 0.18);
  overflow: hidden;
}
.designer-shot-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.designer-shot-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cdd7e6;
}
.designer-shot-bar span:first-child { background: var(--brand); }

/* Carrossel das telas do Designer dentro da moldura */
.designer-shot .feat-carousel {
  height: auto;
  min-height: 0;
  aspect-ratio: 1912 / 1026;
  background: #ffffff;
  border-radius: 0;
}
.designer-shot .feat-carousel-track img {
  object-fit: contain;
  background: #ffffff;
}
.designer-shot .feat-dots span {
  background: rgba(16, 33, 63, 0.25);
}
.designer-shot .feat-dots span.is-active {
  background: var(--brand-deep);
}

@media (max-width: 820px) {
  .designer-showcase {
    grid-template-columns: 1fr;
  }
  .designer-shot {
    order: -1;
  }
}

/* --- Rodapé (3 colunas: marca, contato, selo) --- */
.footer-cols--nicelabel {
  grid-template-columns: 1.6fr auto 1fr;
  align-items: start;
}
.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1rem;
}

/* Selos de parceiro Loftware */
.footer-col--badge {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.partner-badge {
  width: 151px;
  max-width: 48%;
  height: auto;
}

/* Linha inferior do rodapé */
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .footer-cols--nicelabel {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col--badge {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .footer-cols--nicelabel {
    grid-template-columns: 1fr;
  }
}

/* --- Responsivo --- */
@media (max-width: 900px) {
  .card-grid--3 {
    grid-template-columns: 1fr;
  }
}
/* Menu compacta em hambúrguer (3 barras) no mobile/tablet */
@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-nav {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.6rem 0 1rem;
    background: #ffffff;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a:not(.button) {
    padding: 0.85rem 0.5rem;
    color: var(--text) !important;
    border-bottom: 1px solid var(--line);
    font-size: 1rem !important;
  }
  .site-nav a:not(.button):hover {
    color: var(--brand-deep);
    background: var(--bg-soft);
  }
  .site-nav .button {
    justify-content: center;
    margin-top: 0.4rem;
  }
}

@media (max-width: 560px) {
  .brand.brand-logo-only img {
    height: 49px;
  }
}
