/* Seciltek LP — design system partilhado.
   --gama-color é definido inline em cada página (ver lp-template.html). */

:root {
  --gama-color: #e60000; /* default: Primary Red — sobreposto por página */
  --gama-on: #ffffff;    /* cor do texto EM CIMA de --gama-color (botões, badges) */
  --gama-link: #e60000;  /* cor da gama quando é TEXTO em fundo branco (links) — já ajustada para contraste */
  --gama-tint: color-mix(in srgb, var(--gama-color) 8%, white); /* lavagem leve — mancha gráfica no fundo, sem sacrificar contraste do texto */
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --paper-soft: #f6f6f6;
  --black-block: #000000;
  --radius: 8px;
  --max-w: 1120px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; /* ver reference/brand-rules.md sobre Museo Sans */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gama-link); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gama-color);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.lp-header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  border-top: 4px solid var(--gama-color); /* mancha gráfica: a cor da gama assina a página logo no topo */
}
.lp-header .container { display: flex; align-items: center; }
.lp-header img { height: 34px; width: auto; }

/* Hero */
.lp-hero {
  padding: 56px 0 48px;
  background: var(--gama-tint);
}
.lp-hero .container {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .lp-hero .container { grid-template-columns: 1.1fr 0.9fr; }
}
.lp-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
.lp-hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.lp-hero img { border-radius: var(--radius); }
.lp-hero .hero-media {
  border-radius: var(--radius);
  overflow: hidden;
}
.lp-hero .hero-media img {
  animation: kenburns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.btn {
  display: inline-block;
  background: var(--gama-color);
  color: var(--gama-on);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  min-height: 44px; /* alvo de toque mínimo recomendado em mobile */
}
.btn:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Badge de gama */
.gama-badge {
  display: inline-block;
  background: var(--gama-color);
  color: var(--gama-on);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Benefícios */
.lp-beneficios { padding: 56px 0; }
.lp-beneficios h2, .lp-form h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}
.lp-beneficios h2::after, .lp-form h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: var(--gama-color);
  border-radius: 2px;
}
.lp-beneficios h2 { margin-bottom: 32px; }

.produto-titulo {
  text-align: left;
  padding-bottom: 16px;
  margin-bottom: 12px;
  position: relative;
  font-size: clamp(22px, 3vw, 28px);
}
.produto-titulo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--gama-color);
  border-radius: 2px;
}
.beneficios-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .beneficios-grid { grid-template-columns: repeat(3, 1fr); }
}
.beneficio-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.beneficio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.beneficio-card h3 { margin: 0 0 8px; font-size: 18px; }
.beneficio-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.beneficio-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gama-color);
  margin-bottom: 14px;
}

/* Banda de cor cheia — mancha gráfica dominante, ecoa o bloco de cor das embalagens Seciltek */
.lp-banda {
  background: var(--gama-color);
  color: var(--gama-on);
  padding: 40px 0;
  text-align: center;
}
.lp-banda p {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  margin: 0 0 20px;
}
.lp-banda .btn-outline {
  display: inline-block;
  border: 2px solid var(--gama-on);
  color: var(--gama-on);
  background: transparent;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.lp-banda .btn-outline:hover {
  background: var(--gama-on);
  color: var(--gama-color);
}

/* Produto em destaque (opcional) */
.lp-produto {
  padding: 56px 0;
  background: var(--paper-soft);
}
.lp-produto .container {
  display: grid;
  gap: 32px;
}
@media (min-width: 860px) {
  .lp-produto .container { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}
.lp-produto img { border-radius: var(--radius); }

/* Formulário */
.lp-form { padding: 56px 0 72px; }
.lp-form form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.lp-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"],
.lp-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-weight: 400;
}
.lp-form textarea { resize: vertical; min-height: 90px; }
.lp-form label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 0; /* aumenta a área de toque em mobile sem aumentar visualmente o checkbox */
  cursor: pointer;
}
.lp-form label.checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gama-color);
}
.lp-form .btn { justify-self: start; margin-top: 8px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#lp-form-success, #lp-form-error {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}
#lp-form-success { background: #eafaf0; color: #14532d; }
#lp-form-error { background: #fdecec; color: #7f1d1d; }

/* Fine-print RGPD, obrigatório em todas as LPs */
.legal-fineprint {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 11px;
  line-height: 1.6;
  color: #666; /* #999 falhava contraste WCAG (2.85:1); #666 dá 5.74:1 */
}
.legal-fineprint ol { margin: 0; padding-left: 18px; }
.legal-fineprint li { margin-bottom: 6px; }
.legal-fineprint a { color: #666; text-decoration: underline; }

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp-hero .hero-media img { animation: none; }
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  transform: translateY(-110%);
  transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-cta span {
  font-weight: 700;
  font-size: 14px;
  display: none;
}
@media (min-width: 640px) {
  .sticky-cta span { display: block; }
}
.sticky-cta .btn { padding: 10px 20px; font-size: 14px; }
.lp-footer {
  padding: 32px 0;
  background: var(--black-block);
  color: #ccc;
  font-size: 13px;
}
.lp-footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.lp-footer img { height: 22px; margin-bottom: 8px; }
.lp-footer a { color: #fff; text-decoration: underline; }
.lp-footer .legal-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
