:root {
  --navy: #08245b;
  --ink: #12213a;
  --muted: #60728f;
  --line: #c8d8f8;
  --paper: #ffffff;
  --soft: #eef4ff;
  --green: #1b58db;
  --green-dark: #0d3a94;
  --blue: #22c7d9;
  --yellow: #ffd166;
  --orange: #f59f2f;
  --red: #d14343;
  --shadow: 0 20px 46px rgba(5, 35, 96, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 44%, #f5f8ff 100%);
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: linear-gradient(90deg, rgba(8, 36, 91, 0.98), rgba(27, 88, 219, 0.97));
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px rgba(5, 35, 96, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}

.brand img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 8px 16px rgba(27, 88, 219, 0.18));
}

.brand span {
  color: var(--navy);
  font-size: 17px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a.active {
  color: var(--navy);
  background: linear-gradient(135deg, #ffe08a, var(--yellow) 56%, #f6a531);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 22px rgba(5, 35, 96, 0.2);
}

.main-nav a:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 22px rgba(5, 35, 96, 0.18);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--green);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  font-size: 22px;
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  min-height: auto;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px) 40px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(27, 88, 219, 0.12), rgba(56, 189, 248, 0.1) 48%, rgba(255, 209, 102, 0.18)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--blue));
}

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

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title {
  font-size: clamp(34px, 5.8vw, 64px);
}

h2 {
  color: var(--navy);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 690px;
}

.hero p {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.status-line {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(5, 35, 96, 0.18);
}

.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}

.btn.secondary {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
}

.quote-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.form-actions,
.simulation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn.ghost {
  background: #fff;
  color: var(--green-dark);
  border-color: rgba(27, 88, 219, 0.32);
}

.btn.light {
  background: #fff;
  color: var(--navy);
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid rgba(27, 88, 219, 0.24);
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  width: min(100%, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(5, 35, 96, 0.24);
}

.band,
.split-section,
.form-shell,
.admin-shell,
.quote-results,
.content-grid,
.contact-layout,
.price-panel {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.steps,
.content-grid,
.contact-layout,
.price-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article,
.content-grid article,
.contact-card,
.price-box,
.check-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.steps article,
.contact-card,
.price-box,
.check-list {
  border-top: 4px solid var(--green);
}

.steps strong {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(27, 88, 219, 0.08), rgba(255, 255, 255, 0.86)),
    #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(5, 35, 96, 0.1);
}

.metric-grid strong,
.price-box strong {
  display: block;
  color: var(--green-dark);
  font-size: 42px;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 700;
}

.cta-band {
  margin: clamp(26px, 5vw, 64px) clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(27, 88, 219, 0.95), rgba(9, 38, 95, 0.98)),
    var(--navy);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
}

.page-hero {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(27, 88, 219, 0.11), rgba(255, 209, 102, 0.14)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact h1 {
  max-width: 920px;
  font-size: clamp(34px, 5vw, 56px);
}

.form-shell.wide {
  max-width: none;
}

.smart-form {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.smart-form h2 {
  margin: 18px 0;
  font-size: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbded6;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(27, 88, 219, 0.18);
  border-color: var(--green);
}

textarea {
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

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

.field-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.items-grid label {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.items-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.item-section-grid {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}

.item-section {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(8, 36, 91, 0.24);
}

.item-section legend {
  padding: 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.item-section .items-grid {
  margin: 10px 0 0;
}

.item-section .items-grid label {
  min-width: 0;
}

.btn.mini {
  min-height: 36px;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  font-size: 12px;
  background: rgba(27, 88, 219, 0.12);
  color: var(--navy);
  border-color: rgba(27, 88, 219, 0.28);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 36, 91, 0.72);
}

.modal-card {
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal-card iframe {
  width: 100%;
  height: 420px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.modal-card strong,
.modal-card label {
  color: var(--navy);
}

.client-access-results {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.client-access-results article {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hint {
  color: var(--muted);
}

.result-panel {
  max-width: 980px;
  margin: 22px auto 0;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.simulation-panel {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.simulation-result {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px;
  color: var(--navy);
  background: #fff3c4;
  border: 1px solid rgba(255, 209, 102, 0.85);
  border-radius: 8px;
}

.simulation-result strong {
  font-size: 22px;
}

.simulation-result span {
  color: var(--ink);
  font-weight: 800;
}

.company-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.company-preview article {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.company-preview span {
  display: block;
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  align-items: start;
}

.checkout-copy,
.pix-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.countdown {
  display: inline-flex;
  margin: 10px 0 20px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff3c4;
  color: #6c4a00;
  font-weight: 800;
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(300px, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.coupon-form {
  display: grid;
  grid-template-columns: minmax(104px, 128px) minmax(150px, auto);
  gap: 10px;
  align-items: end;
}

.coupon-form label {
  gap: 5px;
  font-size: 13px;
}

.coupon-form input {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.coupon-ok {
  display: inline-flex;
  margin-top: 6px;
  padding: 8px 12px;
  color: #0f6b45;
  background: #ddf8eb;
  border: 1px solid rgba(22, 163, 106, 0.38);
  border-radius: 6px;
  font-weight: 900;
}

.pix-card {
  display: grid;
  gap: 12px;
  text-align: center;
}

.pix-card .qr {
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.pix-card textarea {
  height: 120px;
  font-size: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.admin-stat-grid article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(27, 88, 219, 0.08), rgba(255, 209, 102, 0.12)),
    #fff;
}

.admin-stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stat-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin: 28px 0 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.admin-toolbar h2,
.admin-toolbar p {
  margin-bottom: 0;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coupon-table {
  margin-bottom: 34px;
}

.coupon-code {
  display: inline-flex;
  padding: 5px 8px;
  color: var(--navy);
  background: #fff3c4;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #eaf0ff;
}

.badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.badge.ativo {
  background: var(--green);
}

.badge.pendente {
  background: var(--orange);
}

.badge.inativo {
  background: var(--red);
}

.badge.esgotado {
  background: #475569;
}

.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.actions a {
  color: var(--navy);
  font-weight: 800;
}

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

.contact-layout {
  grid-template-columns: 0.8fr 0.8fr 1.2fr;
  align-items: start;
}

.contact-form {
  margin: 0;
  max-width: none;
}

.contact-card-main {
  border-top-color: var(--yellow);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.muted-list p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.contact-list a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(5, 35, 96, 0.18);
}

.contact-list span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list strong,
.muted-list p {
  font-size: 19px;
  line-height: 1.25;
}

.price-panel {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: stretch;
}

.check-list ul {
  margin: 0;
  padding-left: 20px;
}

.flash {
  margin: 18px clamp(18px, 5vw, 72px) 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: #e9f0ff;
  color: #0e3d9d;
  font-weight: 800;
}

.flash.error {
  background: #ffecec;
  color: #9d1f1a;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #dce7ff;
  background:
    linear-gradient(135deg, #09265f, #123fa6),
    #09265f;
}

.site-footer img {
  width: 48px;
  margin-bottom: 8px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .main-nav {
    display: none;
    position: static;
    flex: 1 0 100%;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(5, 35, 96, 0.16);
  }

  .main-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .main-nav.open {
    display: grid;
  }

  .hero,
  .split-section,
  .checkout-layout,
  .price-panel,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .steps,
  .content-grid,
  .items-grid,
  .company-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-row,
  .field-row.three,
  .field-row.four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .item-section {
    padding: 14px;
  }

  .item-section legend {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 14px;
  }

  .steps,
  .content-grid,
  .items-grid,
  .company-preview,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  .pix-card .qr {
    width: 220px;
    height: 220px;
  }
}

body {
  color: #fff;
  background: #1b58db;
}

.site-header {
  background: linear-gradient(90deg, rgba(8, 36, 91, 0.98), rgba(27, 88, 219, 0.97));
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.brand,
.brand span,
.main-nav a,
.eyebrow,
h1,
h2,
h3,
p,
.hero p,
.page-hero p,
label,
.hint,
  .items-grid span,
  .btn.mini,
  .company-preview span,
.metric-grid span,
.metric-grid strong,
.price-box strong,
.actions a,
th,
td {
  color: #fff;
}

.site-header .main-nav a {
  color: #eaf2ff;
}

.site-header .main-nav a.active {
  color: var(--navy);
  background: linear-gradient(135deg, #ffe08a, var(--yellow) 56%, #f6a531);
}

.site-header .main-nav a:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
}

.site-header .main-nav a.active:hover {
  color: var(--navy);
  background: linear-gradient(135deg, #ffe59c, #ffd166 56%, #f7b24c);
}

.hero,
.page-hero,
.split-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(56, 189, 248, 0.1)),
    #1b58db;
  border-bottom-color: rgba(255, 255, 255, 0.32);
}

.steps article,
.content-grid article,
.contact-card,
.price-box,
.check-list,
.metric-grid div,
.smart-form,
.result-panel,
.checkout-copy,
.pix-card,
.table-wrap,
.items-grid label,
.company-preview article,
.main-nav {
  color: #fff;
  background: rgba(11, 57, 154, 0.58);
  border-color: rgba(255, 255, 255, 0.38);
}

.trust-row span,
th {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
}

.cta-band,
.site-footer {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14, 61, 157, 0.95), rgba(27, 88, 219, 0.95)),
    #1b58db;
}

.btn.ghost,
.btn.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
}

input,
select,
textarea {
  color: #102133;
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #5f7180;
}

.modal-card,
.modal-card strong,
.modal-card label,
.modal-card .status-line {
  color: var(--navy);
}

.modal-card .btn.ghost {
  color: var(--navy);
  background: #fff;
  border-color: rgba(27, 88, 219, 0.32);
}

/* Plataforma 21: ajustes globais de responsividade e legibilidade */
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 42%, #f5f8ff 100%);
}

body,
button,
input,
select,
textarea {
  font-synthesis-weight: none;
}

main,
section,
header,
footer,
form,
article,
div {
  min-width: 0;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 14px;
  background: linear-gradient(90deg, rgba(8, 36, 91, 0.98), rgba(27, 88, 219, 0.97));
}

.brand {
  min-width: 0;
  color: #fff;
}

.brand img {
  flex: 0 0 auto;
}

.brand span {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  justify-content: flex-end;
}

.site-header .main-nav a,
.main-nav a {
  color: #eaf2ff;
}

.site-header .main-nav a.active,
.main-nav a.active {
  color: var(--navy);
}

.hero,
.page-hero,
.split-section {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(27, 88, 219, 0.12), rgba(56, 189, 248, 0.1) 48%, rgba(255, 209, 102, 0.18)),
    #ffffff;
}

.hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  justify-items: stretch;
  align-items: center;
  min-height: min(720px, calc(100vh - 76px));
  text-align: left;
}

.hero-copy {
  order: 1;
  max-width: 740px;
}

.hero-visual {
  order: 2;
  width: 100%;
  max-width: 760px;
  justify-self: end;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero p,
.page-hero p {
  color: var(--muted);
}

.hero p {
  margin-left: 0;
  margin-right: 0;
}

.hero-actions,
.trust-row {
  justify-content: flex-start;
}

.eyebrow,
h1,
h2,
h3,
p,
label,
.hint,
.items-grid span,
.btn.mini,
.company-preview span,
.metric-grid span,
.metric-grid strong,
.price-box strong,
.actions a,
th,
td {
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--navy);
  overflow-wrap: anywhere;
}

p,
.hint {
  color: var(--muted);
}

.steps article,
.content-grid article,
.contact-card,
.price-box,
.check-list,
.metric-grid div,
.smart-form,
.result-panel,
.checkout-copy,
.pix-card,
.table-wrap,
.items-grid label,
.company-preview article {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.contact-list a,
.muted-list p {
  background: #f7faff;
  border-color: var(--line);
}

.contact-list span {
  color: var(--green-dark);
}

.trust-row span,
th {
  color: var(--navy);
  background: #eaf0ff;
  border-color: var(--line);
}

label {
  color: var(--navy);
}

.items-grid span,
.company-preview span,
.metric-grid span {
  color: var(--muted);
}

.btn {
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

.btn.ghost,
.btn.light {
  color: var(--green-dark);
  background: #fff;
  border-color: rgba(27, 88, 219, 0.32);
}

.cta-band .btn.light,
.site-footer .btn.light {
  color: var(--navy);
}

.smart-form > .btn,
.smart-form > button.btn {
  margin-top: 18px;
}

.field-row > label,
.items-grid > label {
  min-width: 0;
}

input,
select,
textarea {
  max-width: 100%;
  font-size: 16px;
}

input[type="file"] {
  min-height: 48px;
  padding: 9px;
}

.file-upload {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: #fff;
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.file-upload-name {
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  margin: 0;
}

th,
td {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.status-line {
  min-width: 0;
  justify-content: space-between;
}

.status-line strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.modal-card {
  color: var(--ink);
}

.modal-card iframe {
  height: min(420px, 58vh);
}

.site-footer p {
  color: #dce7ff;
}

.site-footer {
  background: linear-gradient(135deg, #09265f, #123fa6);
}

@media (min-width: 1180px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    margin-top: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(5, 35, 96, 0.16);
  }

  .main-nav.open {
    display: grid;
  }

  .site-header .main-nav a,
  .main-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  .hero-copy,
  .hero-visual {
    justify-self: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .band,
  .split-section,
  .form-shell,
  .admin-shell,
  .quote-results,
  .content-grid,
  .contact-layout,
  .price-panel,
  .checkout-layout,
  .page-hero {
    padding-left: clamp(14px, 4vw, 28px);
    padding-right: clamp(14px, 4vw, 28px);
  }

  .steps,
  .content-grid,
  .contact-layout,
  .price-panel,
  .items-grid,
  .company-preview,
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .field-row,
  .field-row.three,
  .field-row.four {
    grid-template-columns: 1fr;
  }

  .checkout-actions,
  .coupon-form {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .smart-form {
    padding: 22px;
  }
}

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

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: calc(100vw - 128px);
    font-size: 14px;
  }

  .main-nav {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .hero {
    padding: 28px 14px 34px;
  }

  .hero-visual {
    max-width: 460px;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.04;
  }

  .hero-title {
    font-size: clamp(30px, 8.6vw, 40px);
  }

  h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions,
  .form-actions,
  .simulation-actions,
  .quote-download-actions,
  .status-line {
    align-items: stretch;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .simulation-actions .btn,
  .quote-download-actions .btn,
  .smart-form > .btn,
  .smart-form > button.btn,
  .checkout-copy .btn,
  .pix-card .btn,
  .cta-band .btn,
  .price-box .btn {
    width: 100%;
  }

  .steps,
  .content-grid,
  .contact-layout,
  .price-panel,
  .items-grid,
  .company-preview,
  .metric-grid,
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .steps article,
  .content-grid article,
  .contact-card,
  .price-box,
  .check-list,
  .metric-grid div,
  .smart-form,
  .result-panel,
  .checkout-copy,
  .pix-card {
    padding: 18px;
  }

  .cta-band {
    margin-left: 14px;
    margin-right: 14px;
    padding: 24px 18px;
  }

  .pix-card .qr {
    width: min(230px, 76vw);
    height: min(230px, 76vw);
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-card {
    max-height: calc(100vh - 24px);
    padding: 16px;
  }

  .site-footer {
    padding: 28px 18px;
  }
}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }

  h1 {
    font-size: 31px;
  }

  .hero-title {
    font-size: 28px;
  }

  .trust-row span,
  .btn {
    font-size: 14px;
  }

  .file-upload {
    grid-template-columns: 1fr;
  }

  .file-upload-button,
  .file-upload-name {
    width: 100%;
  }
}

.eyebrow {
  color: var(--green-dark);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.site-footer,
.site-footer h2,
.site-footer h3,
.site-footer strong,
.site-footer a,
.site-footer p {
  color: #fff;
}

.manual-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.manual-card {
  background: #fff;
  border: 1px solid rgba(8, 36, 91, 0.12);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(8, 36, 91, 0.08);
}

.manual-card h2 {
  margin: 8px 0 20px;
  color: var(--navy);
}

.manual-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: manual-step;
}

.manual-steps li {
  counter-increment: manual-step;
  position: relative;
  padding-left: 54px;
}

.manual-steps li::before {
  content: counter(manual-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 800;
}

.manual-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.manual-steps p {
  margin: 0;
  color: var(--text);
}

.manual-steps a {
  color: var(--blue);
  font-weight: 800;
}

.manual-note {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.22);
}

.manual-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.manual-note p {
  margin: 0;
}

.manual-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .manual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .manual-grid {
    width: min(100% - 28px, 1180px);
  }

  .manual-card {
    padding: 20px;
  }

  .manual-steps li {
    padding-left: 48px;
  }
}

/* Final responsive reformulation layer. */
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  overflow-x: hidden;
}

main,
section,
article,
div,
form,
nav,
header,
footer {
  min-width: 0;
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.8);
  outline-offset: 2px;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
}

.brand,
.brand span {
  min-width: 0;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-toggle {
  justify-self: end;
}

.hero,
.page-hero,
.band,
.split-section,
.form-shell,
.admin-shell,
.quote-results,
.content-grid,
.contact-layout,
.price-panel,
.checkout-layout,
.manual-grid,
.cta-band {
  max-width: 100vw;
}

.hero,
.page-hero,
.smart-form,
.result-panel,
.checkout-copy,
.pix-card,
.manual-card,
.contact-card,
.price-box,
.check-list,
.steps article,
.content-grid article,
.metric-grid div {
  overflow-wrap: anywhere;
}

.hero-visual img {
  object-fit: cover;
}

.steps,
.content-grid,
.contact-layout,
.price-panel,
.items-grid,
.company-preview,
.admin-stat-grid,
.metric-grid,
.field-row,
.checkout-layout,
.steps > *,
.content-grid > *,
.contact-layout > *,
.price-panel > *,
.items-grid > *,
.company-preview > *,
.admin-stat-grid > *,
.metric-grid > *,
.field-row > * {
  min-width: 0;
}

input,
select,
textarea {
  max-width: 100%;
  font-size: 16px;
}

textarea {
  min-height: 118px;
}

.form-actions,
.hero-actions,
.simulation-actions,
.quote-download-actions,
.manual-actions,
.checkout-actions,
.status-line {
  min-width: 0;
}

.btn {
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table,
table {
  border-collapse: collapse;
}

iframe,
video,
canvas,
svg {
  max-width: 100%;
}

.modal-card {
  overflow: auto;
}

@media (min-width: 1181px) {
  .main-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 8px;
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy,
  .hero-visual {
    justify-self: center;
  }

  .hero p,
  .page-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .band,
  .split-section,
  .form-shell,
  .admin-shell,
  .quote-results,
  .content-grid,
  .contact-layout,
  .price-panel,
  .checkout-layout,
  .page-hero {
    padding-left: clamp(14px, 4vw, 30px);
    padding-right: clamp(14px, 4vw, 30px);
  }

  .split-section,
  .price-panel,
  .contact-layout,
  .checkout-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .steps,
  .content-grid,
  .items-grid,
  .company-preview,
  .admin-stat-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-row,
  .field-row.three,
  .field-row.four,
  .checkout-actions,
  .coupon-form {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: calc(100vw - 130px);
    font-size: 14px;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px 14px 34px;
  }

  .hero-visual {
    max-width: 480px;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  h1,
  .page-hero.compact h1 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.06;
  }

  .hero-title {
    font-size: clamp(28px, 8.2vw, 38px);
  }

  h2 {
    font-size: clamp(23px, 6.5vw, 30px);
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .steps,
  .content-grid,
  .contact-layout,
  .price-panel,
  .items-grid,
  .company-preview,
  .metric-grid,
  .admin-stat-grid,
  .manual-grid {
    grid-template-columns: 1fr;
  }

  .smart-form,
  .result-panel,
  .checkout-copy,
  .pix-card,
  .manual-card,
  .contact-card,
  .price-box,
  .check-list,
  .steps article,
  .content-grid article,
  .metric-grid div {
    padding: 18px;
  }

  .hero-actions,
  .form-actions,
  .simulation-actions,
  .quote-download-actions,
  .manual-actions,
  .checkout-actions,
  .status-line {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .simulation-actions .btn,
  .quote-download-actions .btn,
  .manual-actions .btn,
  .checkout-actions .btn,
  .cta-band .btn,
  .price-box .btn {
    width: 100%;
  }

  .cta-band {
    margin-left: 14px;
    margin-right: 14px;
    padding: 24px 18px;
  }

  .pix-card .qr {
    width: min(230px, 76vw);
    height: min(230px, 76vw);
  }

  .site-footer {
    padding: 28px 18px;
  }
}

@media (max-width: 390px) {
  .brand span {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  h1,
  .page-hero.compact h1 {
    font-size: 30px;
  }

  .hero-title {
    font-size: 27px;
  }

  .btn,
  .trust-row span {
    font-size: 14px;
  }

  .file-upload {
    grid-template-columns: 1fr;
  }

  .file-upload-button,
  .file-upload-name {
    width: 100%;
  }
}

/* CLS stabilization layer: reserve visible media/layout space before assets finish loading. */
.site-header {
  min-height: 77px;
}

.brand img,
.site-footer img {
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}

.hero-visual picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.hero-visual picture img,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pix-card .qr {
  aspect-ratio: 1 / 1;
}

.modal-card iframe,
iframe[data-maps-frame] {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.flash {
  min-height: 48px;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 65px;
  }

  .hero-visual picture {
    aspect-ratio: 4 / 3;
  }
}
