@font-face {
  font-family: "Rotunda";
  src: url("assets/Rotunda-Regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "Rotunda";
  src: url("assets/Rotunda-Bold.otf") format("opentype");
  font-weight: 700;
}

:root {
  --blue: #2d58c7;
  --blue-dark: #183e9d;
  --green: #1fc86b;
  --ink: #10234f;
  --muted: #71809b;
  --line: #dfe6f1;
  --surface: #f4f7fc;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Rotunda", Arial, sans-serif;
}
button, input, select { font: inherit; }
a { color: inherit; }

.landing {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(600px, 1.08fr);
}

.brand-panel {
  min-height: 100vh;
  padding: 28px clamp(36px, 5vw, 80px);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}
.brand-panel::before {
  width: 530px;
  height: 530px;
  content: "";
  position: absolute;
  right: -270px;
  top: -230px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.02);
}
.brand-panel header {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.official-logo {
  width: 185px;
  height: 56px;
  display: block;
}
.official-logo svg { width: 100%; height: 100%; display: block; }
.location {
  padding: 7px 11px;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .7px;
}
.brand-copy {
  z-index: 2;
  max-width: 570px;
  margin: auto 0 25px;
}
.eyebrow {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
h1 {
  margin: 14px 0 17px;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: .98;
  letter-spacing: -3px;
}
h1 em { color: var(--green); font-style: normal; }
.brand-copy > p {
  max-width: 490px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.55;
}
.mobile-cta { display: none; }
@media (min-width: 821px) {
  .mobile-cta { display: none !important; }
}
.proofs { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.proofs span { color: rgba(255,255,255,.82); font-size: 13px; }
.proofs b {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  display: inline-grid;
  place-items: center;
  color: var(--blue);
  background: var(--green);
  border-radius: 50%;
}
.brand-offer {
  z-index: 2;
  max-width: 430px;
  margin-bottom: auto;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(15, 45, 129, .38);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
}
.brand-offer div { min-width: 145px; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.16); }
.brand-offer small { display: block; color: rgba(255,255,255,.68); font-size: 9px; }
.brand-offer strong { color: var(--white); font-size: 35px; line-height: 1; letter-spacing: -2px; }
.brand-offer sup { margin-left: 4px; color: var(--green); font-size: 9px; letter-spacing: 0; }
.brand-offer p { margin: 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.45; }
.brand-symbol {
  width: 310px;
  height: 310px;
  position: absolute;
  right: -70px;
  bottom: -80px;
  opacity: .1;
  background: url("assets/luzz-icon.png") center / 285% no-repeat;
  filter: brightness(0) invert(1);
  transform: rotate(-12deg);
}
.legal {
  z-index: 2;
  margin: 26px 0 0;
  color: rgba(255,255,255,.42);
  font-size: 8px;
}

.form-panel {
  min-height: 100vh;
  padding: 26px clamp(35px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}
.form-heading { max-width: 590px; width: 100%; margin: 0 auto 15px; }
.form-heading h2 {
  margin: 7px 0 3px;
  color: var(--ink);
  font-size: clamp(25px, 2.7vw, 37px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.form-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.form-card {
  max-width: 590px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 28px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(19, 52, 118, .09);
}
.progress-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; font-weight: 700; }
.progress-bar { height: 3px; margin-top: 7px; background: #edf1f7; border-radius: 6px; }
.progress-bar span { width: 50%; height: 100%; display: block; background: var(--green); border-radius: inherit; transition: width .3s; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3, .success-state h3 { margin: 19px 0 3px; color: var(--ink); font-size: 17px; letter-spacing: -.5px; }
.form-step > p, .success-state p { margin: 0 0 16px; color: var(--muted); font-size: 9px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.address-grid { grid-template-columns: .75fr 1.25fr; }
.street-field, .number-field { grid-column: auto; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full, .choice-group.full { grid-column: 1 / -1; }
.field span, .choice-group legend { color: #34496d; font-size: 9px; font-weight: 700; }
.field span small { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%;
  height: 39px;
  padding: 0 11px;
  color: var(--ink);
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  font-size: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,88,199,.09); }
.field input::placeholder { color: #a7b2c4; }
.field > small { min-height: 0; color: var(--blue); font-size: 7px; }
.choice-group { margin: 1px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
.choice-group legend { width: 100%; margin-bottom: 1px; }
.choice-group label { cursor: pointer; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label span { min-width: 65px; padding: 7px 10px; display: block; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; text-align: center; font-size: 8px; font-weight: 700; }
.choice-group input:checked + span { color: var(--blue); background: #f0f4ff; border-color: var(--blue); }
.primary-button {
  min-height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(31,200,107,.2);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(31,200,107,.28); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
.primary-button span { font-size: 15px; }
.form-button { width: 100%; margin-top: 15px; }
.inline-consent { margin: 10px 0 -2px; color: var(--muted); font-size: 7px; line-height: 1.45; }
.consent { margin: 11px 0; display: flex; gap: 7px; align-items: flex-start; color: var(--muted); font-size: 7px; line-height: 1.45; }
.consent input { accent-color: var(--green); }
.consent a { color: var(--blue); }
.button-row { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.button-row .form-button { margin-top: 0; }
.back-button { color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 9px; font-weight: 700; }
.privacy-note { margin: 12px 0 0; color: #92a0b5; text-align: center; font-size: 9px; }
.submit-error { min-height: 11px; margin: 7px 0 0; color: #c93838; text-align: center; font-size: 8px; }
.success-state { padding: 45px 20px; display: none; text-align: center; }
.success-state.active { display: block; }
.success-icon { width: 50px; height: 50px; margin: auto; display: grid; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: 23px; }

@media (max-width: 1050px) {
  .landing { grid-template-columns: .85fr 1.15fr; }
  .brand-panel { padding-inline: 32px; }
  .form-panel { padding-inline: 28px; }
}
@media (max-width: 820px) {
  .landing { display: block; }
  .brand-panel { min-height: auto; padding: 18px 20px 30px; }
  .brand-panel::before { width: 360px; height: 360px; right: -230px; top: -210px; }
  .brand-copy { margin: 34px 0 0; }
  h1 { max-width: 580px; font-size: 40px; }
  .mobile-cta {
    width: 100%;
    min-height: 50px;
    margin-top: 22px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--blue-dark);
    background: var(--green);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(11, 39, 107, .22);
  }
  .proofs, .brand-offer, .legal { display: none; }
  .brand-symbol { display: none; }
  .form-panel { min-height: auto; padding: 28px 12px 42px; }
  .form-heading { padding: 0 6px; margin-bottom: 14px; }
  .form-heading .eyebrow { font-size: 10px; }
  .form-heading h2 { margin-top: 6px; font-size: 28px; }
  .form-heading p { font-size: 12px; line-height: 1.45; }
  .form-card { padding: 22px 18px 17px; border-radius: 14px; box-shadow: 0 15px 38px rgba(19, 52, 118, .09); }
  .progress-label { font-size: 10px; }
  .progress-bar { height: 4px; }
  .form-step h3, .success-state h3 { margin-top: 18px; font-size: 20px; }
  .form-step > p, .success-state p { margin-bottom: 18px; font-size: 11px; line-height: 1.45; }
  .field span, .choice-group legend { font-size: 11px; }
  .field input, .field select { height: 50px; padding: 0 13px; font-size: 16px; }
  .field > small { font-size: 10px; }
  .field-grid { gap: 13px; }
  .primary-button { min-height: 52px; font-size: 13px; border-radius: 10px; }
  .choice-group label { flex: 1; }
  .choice-group label span { min-height: 44px; display: grid; place-items: center; font-size: 11px; }
  .inline-consent { margin-top: 13px; font-size: 10px; }
  .consent { margin: 15px 0; font-size: 10px; }
  .consent input { width: 18px; height: 18px; flex: 0 0 auto; }
  .back-button { min-height: 52px; font-size: 11px; }
  .privacy-note { margin-top: 13px; font-size: 9px; line-height: 1.45; }
}
@media (max-width: 520px) {
  .official-logo { width: 138px; height: 42px; }
  .location { padding: 6px 9px; font-size: 7px; }
  .brand-copy { margin-top: 27px; }
  .brand-copy .eyebrow { font-size: 9px; }
  h1 { margin: 9px 0 11px; font-size: 33px; line-height: 1.02; letter-spacing: -1.8px; }
  .brand-copy > p { font-size: 12px; line-height: 1.45; }
  .form-card { padding: 20px 16px 16px; }
  .field-grid { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: .72fr 1.28fr; }
  .cep-field, .street-field, .city-field { grid-column: 1 / -1; }
  .number-field, .neighborhood-field { grid-column: auto; }
  .field.full, .choice-group.full { grid-column: auto; }
  .address-grid .field.full, .address-grid .choice-group.full { grid-column: 1 / -1; }
  .button-row { grid-template-columns: 72px 1fr; }
}
@media (max-width: 360px) {
  .brand-panel { padding-inline: 16px; }
  h1 { font-size: 30px; }
  .form-panel { padding-inline: 8px; }
  .form-card { padding-inline: 13px; }
  .address-grid { grid-template-columns: 1fr; }
  .cep-field, .street-field, .number-field, .neighborhood-field, .city-field { grid-column: auto; }
}
