:root {
  --ink: #102033;
  --muted: #627386;
  --paper: #f5f8fb;
  --surface: #ffffff;
  --line: rgba(16, 32, 51, 0.12);
  --blue: #00a4e0;
  --blue-dark: #0f4158;
  --green: #25b85f;
  --green-dark: #128c58;
  --danger: #e85d5d;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.14);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

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

button,
input,
select {
  font: inherit;
}

.lp-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.lp-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.12);
  backdrop-filter: blur(16px);
}

.brand-lockup,
.lp-nav,
.hero-actions,
.lp-footer,
.whatsapp-float {
  display: flex;
  align-items: center;
}

.brand-lockup {
  min-width: 0;
  gap: 9px;
}

.logo-card {
  display: inline-flex;
  width: clamp(112px, 13vw, 154px);
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 7px 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(4, 18, 31, 0.12);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-card.siecon {
  width: clamp(96px, 11vw, 134px);
}

.brand-plus {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.lp-header.is-scrolled .brand-plus {
  color: rgba(16, 32, 51, 0.42);
}

.lp-nav {
  gap: clamp(12px, 2.3vw, 28px);
  font-size: 0.9rem;
  font-weight: 820;
}

.lp-nav a {
  opacity: 0.84;
}

.lp-nav a:hover,
.lp-nav a.active {
  opacity: 1;
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 14px 34px rgba(18, 140, 88, 0.26);
}

.button {
  border: 1px solid transparent;
  padding: 0 22px;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 36px rgba(18, 140, 88, 0.3);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #061622;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 18, 31, 0.98), rgba(8, 48, 72, 0.86) 52%, rgba(8, 48, 72, 0.34)),
    linear-gradient(0deg, rgba(4, 18, 31, 0.92), transparent 52%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1440px, calc(100% - 36px));
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
  margin: 0 auto;
  padding: 104px 0 clamp(48px, 6vw, 72px);
}

.hero-copy-grid {
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
}

.hero-copy h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 700px;
  font-size: clamp(2.35rem, 3.45vw, 3.35rem);
  line-height: 1.03;
}

.hero-copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(236, 245, 250, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.kicker {
  margin: 0 0 14px;
  color: #78dfff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  max-width: 1040px;
  gap: clamp(14px, 1.8vw, 18px);
  margin: 0 auto;
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22px -26px 34px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 24% 12%, rgba(120, 223, 255, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  filter: blur(0);
}

.hero-stage .demo-shell {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 38px 90px rgba(2, 12, 20, 0.48),
    0 0 0 1px rgba(120, 223, 255, 0.08);
}

.hero-stage .demo-legend li::before {
  background: rgba(120, 223, 255, 0.85);
}

.hero-stage .demo-legend b {
  color: #fff;
}

.hero-stage .demo-legend span {
  color: rgba(236, 245, 250, 0.72);
}

.section {
  padding: clamp(70px, 9vw, 116px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.25rem);
}

h3 {
  margin: 0;
  font-size: 1.15rem;
}

p {
  line-height: 1.66;
}

.split,
.ruler-layout,
.integration-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.text-stack p,
.ruler-copy p,
.integration-layout p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.text-stack {
  display: grid;
  gap: 16px;
}

.offer,
.messages {
  background: #fff;
}

.demo-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1e2d;
  box-shadow: var(--shadow);
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1e2d;
}

.demo-dots {
  display: inline-flex;
  gap: 6px;
}

.demo-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.demo-url {
  overflow: hidden;
  flex: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 184, 95, 0.22);
}

.demo-replay {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease;
}

.demo-replay:hover {
  background: rgba(255, 255, 255, 0.22);
}

.demo-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #eef3f8;
}

.demo-legend {
  display: grid;
  margin: 0;
  padding: 0 2px;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.demo-legend li {
  display: grid;
  min-height: 62px;
  align-content: start;
  gap: 0 12px;
  grid-template-columns: 3px minmax(0, 1fr);
  padding: 2px 18px 2px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

/* traço vertical de cada item, no lugar da borda-esquerda */
.demo-legend li::before {
  content: "";
  height: 30px;
  border-radius: 2px;
  background: var(--blue);
  grid-row: 1 / span 2;
}

.demo-legend li:last-child {
  border-right: 0;
  padding-right: 0;
}

.demo-legend b {
  display: block;
  font-size: 0.86rem;
  line-height: 1.25;
}

.demo-legend span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.38;
}

@media (min-width: 1061px) {
  .hero-inner {
    align-items: center;
    padding-top: 88px;
    padding-bottom: 46px;
  }

  .hero-stage {
    max-width: none;
  }
}

.section-heading {
  max-width: 840px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 780px;
}

.offer-grid,
.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.offer-grid article,
.message-card,
.board-card,
.integration-flow div,
.steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.offer-grid article {
  min-height: 250px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.07);
}

.icon-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  font-weight: 920;
}

.offer-grid p,
.steps p {
  margin: 12px 0 0;
  color: var(--muted);
}

.ruler {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 164, 224, 0.16), transparent 32%),
    #0b2334;
}

.ruler .kicker,
.integration .kicker,
.final-cta .kicker {
  color: #78dfff;
}

.ruler-copy {
  position: sticky;
  top: 118px;
}

.ruler-copy p {
  margin-top: 22px;
  color: rgba(236, 245, 250, 0.72);
}

.ruler-board {
  display: grid;
  gap: 12px;
}

.board-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: stretch;
}

.day-tag {
  display: grid;
  min-height: 86px;
  place-items: center;
  border-radius: 8px;
  color: #0b2334;
  font-weight: 920;
  background: #b9ecff;
}

.board-row.active .day-tag {
  color: #fff;
  background: var(--danger);
}

.board-card {
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
}

.board-card strong,
.board-card span {
  display: block;
}

.board-card span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

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

.message-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(18, 140, 88, 0.08), transparent 46%),
    #fff;
  box-shadow: var(--shadow);
}

.message-card > span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 900;
  background: rgba(18, 140, 88, 0.1);
}

.message-card.danger {
  background:
    linear-gradient(180deg, rgba(232, 93, 93, 0.1), transparent 46%),
    #fff;
}

.message-card.danger > span {
  color: #ba3434;
  background: rgba(232, 93, 93, 0.1);
}

.message-card.success {
  background:
    linear-gradient(180deg, rgba(0, 164, 224, 0.1), transparent 46%),
    #fff;
}

.message-card.success > span {
  color: var(--blue-dark);
  background: rgba(0, 164, 224, 0.12);
}

.bubble {
  margin-top: 22px;
  border-radius: 18px 18px 18px 4px;
  padding: 16px;
  background: #eef8ec;
}

.message-card.danger .bubble {
  background: #fff0f0;
}

.message-card.success .bubble {
  background: #eaf7ff;
}

.bubble p {
  margin: 8px 0 0;
  color: var(--muted);
}

.integration {
  background:
    linear-gradient(90deg, rgba(0, 164, 224, 0.08), transparent 36%),
    var(--paper);
}

.integration-layout {
  align-items: center;
}

.integration-layout p {
  margin-top: 22px;
}

.integration-flow {
  display: grid;
  gap: 12px;
}

.integration-flow div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.08);
}

.integration-flow span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  font-weight: 920;
}

.integration-flow strong,
.integration-flow small {
  display: block;
}

.integration-flow small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.42;
}

.implementation {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 230px;
  padding: 22px;
  background: #fff;
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 920;
}

.final-cta {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(4, 18, 31, 0.96), rgba(15, 65, 88, 0.9)),
    url("assets/hero-construtoras-77.png") center / cover;
}

.final-cta p {
  margin-top: 22px;
  color: rgba(236, 245, 250, 0.72);
}

.lead-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 780;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  outline: none;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.lead-form select option {
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: #78dfff;
  box-shadow: 0 0 0 3px rgba(120, 223, 255, 0.18);
}

.form-button {
  width: 100%;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(236, 245, 250, 0.78);
  font-size: 0.9rem;
}

.lp-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(16px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #081827;
}

.lp-footer img {
  width: min(132px, 42vw);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 40;
  flex-direction: column;
  align-items: flex-start;
  min-width: 166px;
  border-radius: 999px;
  padding: 11px 17px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 46px rgba(18, 140, 126, 0.36);
}

.whatsapp-float span {
  font-size: 0.7rem;
  font-weight: 760;
  opacity: 0.82;
}

.whatsapp-float strong {
  font-size: 0.88rem;
}

@media (max-width: 1060px) {
  .hero-copy-grid,
  .split,
  .ruler-layout,
  .integration-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .ruler-copy {
    position: static;
  }

  .offer-grid,
  .steps,
  .demo-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .lp-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 34px rgba(16, 32, 51, 0.12);
  }

  .brand-plus {
    color: rgba(16, 32, 51, 0.42);
  }

  .lp-nav {
    order: 3;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.84rem;
    scrollbar-width: thin;
  }

  .lp-nav a {
    white-space: nowrap;
  }

  .hero-inner {
    padding-top: 170px;
  }

  .message-grid,
  .demo-legend {
    grid-template-columns: 1fr;
  }

  /* empilhado o divisor vertical não faz sentido */
  .demo-legend {
    gap: 10px;
  }

  .demo-legend li {
    min-height: 0;
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .lp-header {
    padding: 10px 14px;
  }

  .header-cta {
    display: none;
  }

  .logo-card {
    width: 86px;
    height: 44px;
    padding: 6px 8px;
  }

  .logo-card.siecon {
    width: 82px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .offer-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .board-row {
    grid-template-columns: 58px 1fr;
  }

  .day-tag {
    min-height: 94px;
  }

  .lead-form {
    padding: 20px;
  }

  .lp-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 150px;
  }

  /* o painel completo fica ilegível em tela pequena: o demo entra em modo retrato */
  .demo-frame {
    aspect-ratio: 390 / 780;
  }

  .demo-url {
    font-size: 0.68rem;
  }
}
