/* =================================================================
   HUBSPOT CUSTOM MODULE - CSS PANEL (SEÇÕES CLARAS)
   Palette: #00754A | #80BAA5 | #EF8943 | #33916e | #17392F
   ================================================================= */

:root {
  --hs-green-dark: #17392F;
  --hs-green-primary: #00754A;
  --hs-green-mid: #33916e;
  --hs-green-light: #80BAA5;
  --hs-orange-accent: #EF8943;
  --hs-bg-light: #F4F8F6;
  --hs-bg-card: #FFFFFF;
  --hs-text-dark: #17392F;
  --hs-text-muted: #4A635B;
  --hs-border-light: rgba(128, 186, 165, 0.35);
}

.hs-light-section {
  position: relative;
  background-color: var(--hs-bg-light);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--hs-text-dark);
  box-sizing: border-box;
}

.hs-light-section * {
  box-sizing: border-box;
}

.hs-social-proof-section {
  padding: 90px 24px 70px;
  border-top: 1px solid rgba(128, 186, 165, 0.2);
}

.hs-final-cta-section {
  padding: 40px 24px 100px;
}

.light-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.light-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.light-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hs-green-primary);
  background: rgba(0, 117, 74, 0.08);
  border: 1px solid rgba(0, 117, 74, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.light-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--hs-green-dark);
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.light-subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--hs-text-muted);
  margin: 0;
}

/* Logos de Prova Social */
.social-logos-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--hs-bg-card);
  border: 1px solid var(--hs-border-light);
  padding: 22px 36px;
  border-radius: 16px;
  margin-bottom: 50px;
  box-shadow: 0 10px 25px rgba(23, 57, 47, 0.04);
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--hs-green-dark);
  letter-spacing: -0.5px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-box:hover .logo-text {
  opacity: 1;
  color: var(--hs-green-primary);
  transform: scale(1.03);
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: var(--hs-border-light);
}

/* Grid de Diferenciais */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.diff-card {
  background: var(--hs-bg-card);
  border: 1px solid var(--hs-border-light);
  border-radius: 18px;
  padding: 30px 28px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(23, 57, 47, 0.03);
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--hs-green-primary);
  box-shadow: 0 14px 30px rgba(0, 117, 74, 0.1);
}

.diff-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(128, 186, 165, 0.18);
  color: var(--hs-green-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.25s ease, color 0.25s ease;
}

.diff-card:hover .diff-icon-wrapper {
  background: var(--hs-green-primary);
  color: #FFFFFF;
}

.diff-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--hs-green-dark);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.diff-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hs-text-muted);
  margin: 0;
}

/* Card Especial Span (Linha Completa) */
.diff-card-span {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #edf5f1 100%);
  border: 1px solid rgba(0, 117, 74, 0.25);
}

.diff-card-span .diff-icon-wrapper {
  margin-bottom: 0;
  flex-shrink: 0;
}

.icon-shield {
  background: rgba(0, 117, 74, 0.12);
}

/* SEÇÃO 8: CARD CTA FINAL */
.final-cta-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #eaf4ef 100%);
  border: 2px solid rgba(0, 117, 74, 0.2);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(23, 57, 47, 0.08);
  position: relative;
  overflow: hidden;
}

.final-cta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hs-orange-accent);
  background: rgba(239, 137, 67, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.final-cta-title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--hs-green-dark);
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}

.final-cta-text {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--hs-text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.btn-final-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--hs-orange-accent);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(239, 137, 67, 0.35);
}

.btn-final-primary:hover {
  background-color: #e57830;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(239, 137, 67, 0.45);
}

.btn-final-primary svg {
  transition: transform 0.2s ease;
}

.btn-final-primary:hover svg {
  transform: translateX(4px);
}

.final-cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--hs-text-muted);
  margin-top: 22px;
}

/* Responsividade */
@media (max-width: 860px) {
  .social-logos-bar {
    flex-direction: column;
    gap: 16px;
  }

  .logo-divider {
    width: 60px;
    height: 1px;
  }

  .differentials-grid {
    grid-template-columns: 1fr;
  }

  .diff-card-span {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta-card {
    padding: 40px 20px;
  }

  .final-cta-title {
    font-size: 30px;
  }

  .final-cta-text {
    font-size: 15.5px;
  }

  .btn-final-primary {
    width: 100%;
    justify-content: center;
  }
}
/* =================================================================
   HUBSPOT CUSTOM MODULE - JS PANEL
   Interatividade e Microanimações nos Cards e Botão Final
   ================================================================= */

document.addEventListener("DOMContentLoaded", function () {
  const diffCards = document.querySelectorAll(".diff-card");

  diffCards.forEach((card) => {
    card.addEventListener("mouseenter", function () {
      this.style.borderColor = "var(--hs-green-primary)";
    });

    card.addEventListener("mouseleave", function () {
      if (!this.classList.contains("diff-card-span")) {
        this.style.borderColor = "var(--hs-border-light)";
      }
    });
  });
});