/* ===== Neo Química Impulso — LP (réplica fiel do site Wix) ===== */

:root {
  --blue: #0031a7;
  --navy: #0b1c4d;
  --yellow: #ffd100;
  --white: #ffffff;
  --font-title: 'Poppins', Arial, Helvetica, sans-serif;
  --font-body: 'Questrial', Arial, Helvetica, sans-serif;
  --font-display: 'Anton', Arial, Helvetica, sans-serif;
  --font-section: 'Spinnaker', Arial, Helvetica, sans-serif;
  --container: 1265px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--blue) url('assets/img/logo-neoquimica-header.png') center center / cover no-repeat;
  padding: 40px 0 60px;
  overflow: hidden;
}

.hero-badge {
  position: absolute;
  top: 4%;
  right: 5%;
  width: min(15.5%, 200px);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.9vw, 50px);
  line-height: 1.15;
  max-width: 62%;
  margin: 0 0 24px;
  color: var(--white);
}

.hero h1 span { color: var(--yellow); }

.hero p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.95vw, 25px);
  line-height: 1.4;
  max-width: 78%;
  color: var(--white);
  margin: 0 0 18px;
}

.hero p strong {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--yellow);
}

.hero-video {
  width: min(55%, 696px);
  margin: 32px auto 0;
  background: #000;
}

.hero-video video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
}

/* ===== COMO FUNCIONA + CTA ===== */
.how-it-works {
  background: var(--blue);
  padding: 60px 0 70px;
}

.section-title {
  font-family: var(--font-section);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 48px);
  text-align: center;
  margin: 0 0 60px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.step.in-view {
  opacity: 1;
  transform: translateY(0);
}

.step-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.7s ease 0.15s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
  transform: scale(0.7);
  opacity: 0;
}

.step.in-view .step-mark {
  transform: scale(1);
  opacity: 1;
}

.step-icon {
  width: clamp(40px, 5.5vw, 90px);
  height: clamp(40px, 5.5vw, 90px);
  color: var(--yellow);
  flex-shrink: 0;
}

.step-num-left .step-mark { order: 1; justify-content: flex-start; }
.step-num-left .step-body { order: 2; text-align: left; }
.step-num-right .step-mark { order: 2; justify-content: flex-end; }
.step-num-right .step-body { order: 1; text-align: left; }

.step-number {
  font-family: var(--font-section);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 1;
  color: var(--white);
}

.step-arrow {
  position: absolute;
  bottom: -10px;
  width: 120px;
  height: 90px;
  color: var(--yellow);
  opacity: 0.9;
}

.step-arrow-1, .step-arrow-3 { right: 20%; }
.step-arrow-2 { left: 20%; }

.step-body h3 {
  display: inline-block;
  font-family: var(--font-section);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--yellow);
  color: var(--white);
}

.step-body p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.step-body a {
  color: var(--yellow);
  text-decoration: underline;
}

/* ===== CTA ===== */
.cta-inner {
  max-width: 800px;
  margin: 90px auto 0;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  margin: 0 0 20px;
}

.cta-heading strong {
  font-weight: 700;
  color: var(--yellow);
}

.cta-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 25px);
  margin: 0 0 30px;
}

.btn-primary {
  display: inline-block;
  padding: 18px 44px;
  background: var(--yellow);
  color: var(--blue);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 20px);
  letter-spacing: 0.3px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

/* ===== SECTION DIVIDER (corte entre azul e navy) ===== */
.section-divider {
  line-height: 0;
  background: var(--blue);
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

.section-divider path {
  fill: var(--navy);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 48px 0 30px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo img { width: 168px; }

.footer-support {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  margin: 0;
}

.footer-support a { text-decoration: underline; }

.footer-copy {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 16px 0 0;
}

.footer-copy a { text-decoration: underline; color: var(--white); }

.footer-credit {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-credit:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h1 { max-width: 100%; }
  .hero p { max-width: 100%; }
  .hero-badge { width: 26%; top: 3%; right: 5%; }
  .hero-video { width: 90%; }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding-bottom: 30px;
  }

  .step-num-left .step-mark,
  .step-num-right .step-mark { order: 1; justify-content: center; }
  .step-num-left .step-body,
  .step-num-right .step-body { order: 2; text-align: center; }

  .step-body h3 { border-bottom-width: 2px; }

  .step-arrow { display: none; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 560px) {
  .hero { padding: 90px 0 40px; }
  .hero-badge { width: 34%; top: 16px; right: 16px; }
  .hero h1 { text-align: left; }

  .cta-inner { margin-top: 60px; }
  .btn-primary { width: 100%; text-align: center; padding: 16px 20px; }

  .footer-logo img { width: 130px; }

  .section-divider svg { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .step, .step-mark {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
