:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #0f2742;
  --text-soft: #4f627d;
  --primary: #0b2e59;
  --accent: #ff7a00;
  --accent-dark: #df6900;
  --whatsapp: #1fa855;
  --border: #d6e0ef;
  --radius: 18px;
  --container: 1160px;
  --section-space: 68px;
  --title-gap: 14px;
  --content-gap: 22px;
  --btn-height: 54px;
  --btn-radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 46px;
  background: url("../assets/modelo-hero-funil-5b.png") center / cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 24, 47, 0.58) 0%,
    rgba(10, 33, 62, 0.44) 44%,
    rgba(10, 33, 62, 0.34) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(7, 20, 40, 0.45);
}

.hero-brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.hero-brand img {
  height: 70px;
  width: auto;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  background-color: transparent !important;
}

.hero-copy > p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  max-width: 56ch;
  text-shadow: 0 1px 10px rgba(7, 20, 40, 0.38);
}

.hero-badge-wrap {
  margin-top: 20px;
  background: transparent !important;
  background-color: transparent !important;
}

.hero-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  background: transparent !important;
  background-color: transparent !important;
}

img.hero-badge {
  width: 108px;
  height: 108px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
}

.hero-badge-wrap,
.hero-badges,
.hero-badges img {
  background: transparent !important;
  background-color: transparent !important;
}

.hero-cta-group {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  max-width: 100%;
}

.hero-cta-group > * {
  width: auto;
  flex: 0 0 auto;
}

.btn {
  min-height: var(--btn-height);
  padding: 0 24px;
  border: 0;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  transition: transform 150ms ease, background-color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-whatsapp {
  background: linear-gradient(180deg, #3a8c88 0%, #2f6b74 100%);
  color: #effff8;
  border: 1px solid rgba(199, 255, 233, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(180deg, #347f7c 0%, #2a6169 100%);
}

.btn-block {
  width: 100%;
}

.microcopy-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  text-shadow: 0 1px 8px rgba(7, 20, 40, 0.28);
}

.microcopy-list li::before {
  content: "✔ ";
  color: #87ffb7;
}

.section {
  padding: var(--section-space) 0;
}

.section h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
}

.section-kicker {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #4e6d98;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  margin: var(--title-gap) auto 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  max-width: 860px;
}

.problem {
  background: var(--bg);
}

.problem-grid {
  margin-top: var(--content-gap);
  display: grid;
  gap: 12px;
}

.card {
  background: #fff;
  border: 1px solid #bccae0;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 6px 20px rgba(14, 35, 60, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(14, 35, 60, 0.09);
  border-color: #9eb3d3;
}

.card-icon-wrap {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 72px;
  height: 72px;
  margin: 0;
  display: block;
  visibility: visible;
  opacity: 1;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 2;
  filter: none !important;
  padding: 0 !important;
  flex: 0 0 auto;
}

.card .card-icon,
.card .card-icon-wrap {
  background: transparent !important;
  background-color: transparent !important;
}

.card h3 {
  margin: 16px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #13315c;
  text-align: center;
  max-width: 220px;
}

.card p {
  margin: 16px 0 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  color: #4f627d;
  text-align: center;
  max-width: 220px;
}

.problem-end {
  margin: 30px auto 0;
  text-align: center;
  max-width: 900px;
  color: #22364f;
  font-size: 1.02rem;
  font-weight: 500;
}

.problem-end-sub {
  margin: 8px auto 0;
  text-align: center;
  color: #5a6f8d;
  font-size: 0.95rem;
}

.problem-end-cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.impact {
  padding: 50px 0 0;
  text-align: center;
}

.impact p {
  font-size: clamp(1.32rem, 2.3vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #132f57;
}

.impact p + p {
  margin-top: 6px;
}

.solution {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  padding-top: 68px;
  padding-bottom: 68px;
}

.solution-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.solution-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solution-grid h2 {
  text-align: left;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0;
}

.solution-sub {
  margin-top: 14px;
  color: #536784;
  font-size: 1.08rem;
}

.solution-list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.solution-list li {
  position: relative;
  padding-left: 22px;
  color: #203a5f;
  font-weight: 500;
  line-height: 1.35;
}

.solution-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #3a9f72;
  font-weight: 700;
}

#btn-solucao {
  display: flex;
  width: max-content;
  margin-top: 0;
}

.solution-image img {
  width: min(100%, 520px);
  height: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  display: block;
}

.solution-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.proof-strip {
  background: linear-gradient(180deg, #103867 0%, #0b2e59 100%);
  color: #fff;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid {
  display: grid;
  gap: 12px clamp(28px, 4.8vw, 78px);
  text-align: center;
  justify-items: center;
  align-items: center;
}

.proof-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 2px 10px;
}

.proof-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  min-width: 7.5ch;
  font-size: clamp(1.72rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.024em;
  font-variant-numeric: tabular-nums;
}

.count-up {
  display: inline-block;
  text-align: center;
}

.proof-suffix {
  display: inline-block;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.92;
  transform: translateY(-0.04em);
}

.proof-number.is-pending {
  opacity: 0;
  transform: translateY(2px);
}

.proof-number.is-live {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.proof-label {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.82;
  line-height: 1.35;
  max-width: 16ch;
  min-height: 2.7em;
  display: block;
  margin: 0 auto;
  text-wrap: balance;
}

.urgency {
  background: var(--bg);
  padding-top: 62px;
  padding-bottom: 40px;
}

.urgency p {
  margin: 16px auto 0;
  text-align: center;
  max-width: 64ch;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.6;
}

.final-cta {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 60px;
}

.final-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.final-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 26px;
  border: 1px solid #dfe8f5;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.final-copy p {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.55;
}

.final-copy h2,
.final-copy p {
  text-align: left;
}

.final-benefits {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.final-benefits li {
  position: relative;
  padding-left: 18px;
  color: #1d375c;
  line-height: 1.45;
  font-weight: 500;
}

.final-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f76ce;
}

.final-proof {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d9e5f7;
  color: #17345c;
  font-weight: 700;
}

.final-urgency-note {
  margin-top: 12px;
  color: #2d4e7b;
  font-weight: 700;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(10, 34, 66, 0.08);
}

.lead-form {
  display: grid;
  gap: 13px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field-group input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.field-group input:focus {
  border-color: rgba(11, 46, 89, 0.6);
  box-shadow: 0 0 0 4px rgba(11, 46, 89, 0.1);
}

.field-group.error input {
  border-color: rgba(220, 38, 38, 0.75);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.lgpd-consent {
  gap: 8px;
}

.lgpd-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #405a7a;
  font-size: 0.9rem;
  line-height: 1.4;
}

.lgpd-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.lgpd-label a {
  color: #0b2e59;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-group.lgpd-consent.error .lgpd-label {
  color: #b91c1c;
}

.field-group.lgpd-consent.error input[type="checkbox"] {
  box-shadow: none;
  outline: 2px solid rgba(220, 38, 38, 0.35);
  outline-offset: 1px;
}

.error-message {
  min-height: 15px;
  color: #dc2626;
  font-size: 0.8rem;
}

.lead-form .btn-whatsapp {
  color: #0d5c2d;
  border-color: #9ce1b8;
  background: #e8f8ee;
}

.microcopy {
  margin-top: 4px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
}

.lgpd-note {
  margin: -2px 0 2px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #627793;
}

#btn-submit-f5 {
  min-height: 56px;
  font-size: 1.02rem;
}

.legal-footer {
  background: #0b2e59;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.legal-footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.legal-footer-content a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 640px);
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
  }

  .proof-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(clamp(28px, 4.8vw, 78px) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.10) 28%,
      rgba(255, 255, 255, 0.10) 72%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .final-grid {
    grid-template-columns: 1fr minmax(340px, 420px);
  }

}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  img.hero-badge {
    width: 114px;
    height: 114px;
  }
}

@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(7, 24, 47, 0.72) 0%,
      rgba(10, 33, 62, 0.58) 44%,
      rgba(10, 33, 62, 0.42) 100%
    );
  }

  .hero-copy h1 {
    font-size: clamp(1.86rem, 9vw, 2.2rem);
    line-height: 1.12;
  }

  .hero-copy > p {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .section {
    padding: 52px 0;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-cta-group > * {
    width: 100%;
  }

  .hero-badges {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .proof-item {
    gap: 8px;
    padding: 0;
  }

  .proof-number {
    min-width: 0;
    font-size: 1.64rem;
  }

  .proof-label {
    font-size: 0.74rem;
    width: auto;
    max-width: 18ch;
    min-height: 0;
  }

  img.hero-badge {
    width: 94px;
    height: 94px;
  }

  .card-icon-wrap {
    width: 96px;
    height: 96px;
  }

  .card-icon {
    width: 72px;
    height: 72px;
  }

  .solution {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .solution-image {
    order: 1;
  }

  .solution-copy {
    order: 2;
  }

  .solution-grid h2,
  .final-copy h2,
  .final-copy p {
    text-align: center;
  }

  .solution-copy {
    align-items: center;
  }

  .final-copy {
    padding: 18px;
  }

  .final-benefits {
    text-align: left;
  }

  .final-grid {
    gap: 18px;
  }

  .final-cta {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .form-card {
    padding: 20px;
  }

  .lead-form {
    gap: 12px;
  }

  .lgpd-label {
    font-size: 0.86rem;
  }

  .lgpd-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }

  .lgpd-note {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .legal-footer {
    padding: 12px 0;
  }

  .legal-footer-content {
    font-size: 0.72rem;
    gap: 6px;
    max-width: 34ch;
    margin: 0 auto;
  }
}
