/* ========== Tokens ========== */
:root {
  --accent: #E8862B;
  --accent-soft: rgba(232, 134, 43, 0.15);
  --accent-glow: rgba(232, 134, 43, 0.55);
  --spark: #FFD700;
  --metal: #B0B2B4;
  --navy: #1B2838;
  --ink: #0F1319;
  --ink-100: #161B24;
  --ink-200: #111720;
}

html { scroll-behavior: smooth; }
body { background: var(--ink); }

::selection { background: var(--accent); color: #050505; }

/* ========== Background grid ========== */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-radial-glow {
  background: radial-gradient(ellipse at top, rgba(232, 134, 43, 0.05), transparent 60%);
}

/* ========== Glow ========== */
.glow-text {
  text-shadow:
    0 0 30px var(--accent-glow),
    0 0 60px rgba(232, 134, 43, 0.25);
}

.shadow-glow {
  box-shadow: 0 0 25px rgba(232, 134, 43, 0.35);
}
.shadow-glow-lg {
  box-shadow: 0 0 40px rgba(232, 134, 43, 0.45),
              0 0 80px rgba(232, 134, 43, 0.2);
}

/* ========== Selo anos ========== */
.seal-glow {
  filter: drop-shadow(0 0 25px rgba(232, 134, 43, 0.35));
}
.seal-arc-rotate {
  animation: sealArcRotate 30s linear infinite;
}
@keyframes sealArcRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .seal-arc-rotate { animation: none; }
}

/* ========== Pulsing dot ========== */
.pulse-dot {
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--accent);
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ========== Spark animation (welding) ========== */
.spark-pulse {
  animation: sparkPulse 3s ease-in-out infinite;
}
@keyframes sparkPulse {
  0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 4px var(--spark)); }
  50% { opacity: 1; filter: drop-shadow(0 0 12px var(--spark)) drop-shadow(0 0 24px var(--accent)); }
}

/* ========== Form elements ========== */
.opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease;
}
.opt:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(4px);
}

.inp {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.inp:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(232, 134, 43, 0.04);
}
.inp::placeholder { color: rgba(255,255,255,0.3); }

/* ========== Linha de produtos — faixas full-width ========== */
.prod-list {
  display: flex;
  flex-direction: column;
}

.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.prod-img-bg {
  position: relative;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  aspect-ratio: 16 / 10;
  transition: background-size 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.prod-row:hover .prod-img-bg {
  background-size: 105%;
}

.prod-img-bg--hero {
  aspect-ratio: auto;
  height: 100%;
  min-height: 520px;
  background-attachment: scroll;
}
@media (max-width: 1023px) {
  .prod-img-bg--hero {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

/* ========== Hero grid full-bleed ========== */
.hero-grid {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.hero-text-wrap {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 1024px) {
  .hero-text-wrap {
    padding-left: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
    padding-right: 2rem;
  }
}

/* Bloco de texto */
.prod-text {
  display: flex;
  align-items: center;
  padding: 2.25rem 2rem;
}
.prod-text-inner {
  max-width: 520px;
  width: 100%;
}
@media (min-width: 1024px) {
  .prod-text { padding: 2.5rem 4rem; }
}

.prod-row--dark .prod-text { background: var(--ink); }
.prod-row--light .prod-text { background: var(--ink-100); }

/* Tipografia dos cards */
.prod-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.prod-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}
.prod-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.prod-desc:last-of-type { margin-bottom: 1.75rem; }
.prod-desc strong { color: #fff; font-weight: 700; }

.prod-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.prod-bullets li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}
.prod-bullets li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTA produto */
.prod-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #050505;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prod-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow),
              0 0 60px rgba(232, 134, 43, 0.25);
}
.prod-cta svg { transition: transform 0.25s ease; }
.prod-cta:hover svg { transform: translateX(3px); }

/* Mobile — empilha texto + imagem */
@media (max-width: 1023px) {
  .prod-row { grid-template-columns: 1fr; }
  .prod-row .prod-img-bg { aspect-ratio: 16 / 10; background-attachment: scroll; order: 1; }
  .prod-row .prod-text { order: 2; padding: 2.25rem 1.5rem; }
  .prod-row--reverse .prod-img-bg { order: 1; }
  .prod-row--reverse .prod-text { order: 2; }
}

/* ========== Reduce motion ========== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (hover: none) {
  .prod-img-bg { background-attachment: scroll; }
  .prod-row:hover .prod-img-bg { background-size: cover; }
}
