/* Parça Sor - minimal, premium, responsive */
:root{
  --bg: #0b1220;
  --card: #0f1a2f;
  --text: #0b1220;
  --text2: #24324a;
  --muted: #63708a;
  --line: rgba(15, 26, 47, 0.12);
  --white: #ffffff;
  --soft: #f6f7fb;
  --accent: #0b3a78; /* deep blue */
  --accent2: #0a2c59;
  --ok: #0a7a5b;
  --danger: #b42318;
  --radius: 16px;
  --shadow: 0 18px 60px rgba(0,0,0,.12);
  --shadow2: 0 10px 30px rgba(0,0,0,.10);
  --max: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  gap: 12px;
  align-items:center;
  min-width: 260px;
}
.brand__mark{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  display:grid;
  place-items:center;
  color: white;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: var(--shadow2);
}
.brand__name{ font-weight: 750; }
.brand__meta{ font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.nav{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content: flex-end;
}
.nav__link{
  font-size: 14px;
  color: var(--text2);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav__link:hover{ background: rgba(11, 58, 120, 0.06); }
.nav__button{
  border:0;
  background: transparent;
  cursor:pointer;
}

.burger{
  display:none;
  border:0;
  background: transparent;
  padding: 8px;
  border-radius: 10px;
}
.burger span{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  margin: 5px 0;
  border-radius: 2px;
}

.mobileMenu{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.mobileMenu__inner{
  display:grid;
  gap: 10px;
  padding: 14px 0 18px;
}
.mobileMenu__link{
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--text2);
}
.mobileMenu__link:hover{ background: rgba(11, 58, 120, 0.06); }
.mobileMenu__button{
  border:0;
  background: transparent;
  text-align:left;
  cursor:pointer;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor:pointer;
  font-weight: 650;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: white;
  box-shadow: var(--shadow2);
}
.btn--primary:hover{ filter: brightness(1.03); }
.btn--ghost{
  background: rgba(11, 58, 120, 0.06);
  border-color: rgba(11, 58, 120, 0.16);
  color: var(--accent2);
}
.btn--ghost:hover{ background: rgba(11, 58, 120, 0.09); }
.btn--sm{ padding: 10px 12px; font-size: 14px; }
.btn--block{ width: 100%; }

/* Hero */
.hero{
  padding: 42px 0 24px;
  background:
    radial-gradient(700px 220px at 16% 10%, rgba(11,58,120,.10), transparent 65%),
    radial-gradient(700px 240px at 90% 20%, rgba(10,44,89,.10), transparent 65%),
    linear-gradient(180deg, #ffffff, #fbfcff 70%, #ffffff);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 122, 91, 0.10);
  color: var(--ok);
  font-weight: 650;
  font-size: 12.5px;
  margin: 0 0 14px;
  border: 1px solid rgba(10, 122, 91, 0.16);
}
.hero h1{
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}
.lead{
  margin: 0 0 18px;
  color: var(--text2);
  font-size: 16.5px;
  line-height: 1.55;
}
.muted{ color: var(--muted); }
.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__badges{
  display:grid;
  gap: 10px;
  margin-top: 8px;
}
.badge{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.badge__icon{
  width: 26px; height: 26px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(10, 122, 91, 0.10);
  color: var(--ok);
  font-weight: 800;
}
.badge__text{ color: var(--text2); font-size: 14px; }

.hero__card .card{
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card__title{ font-weight: 780; font-size: 18px; }
.card__sub{ margin: 6px 0 14px; color: var(--muted); font-size: 13.5px; }
.card__miniForm{ display:grid; gap: 12px; }

.small{ font-size: 12.5px; line-height: 1.45; }

/* Sections */
.section{ padding: 42px 0; }
.section--alt{ background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2{
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.section__head{ margin-bottom: 16px; }
.section__head p{ margin: 0; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.step__num{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(11, 58, 120, 0.08);
  color: var(--accent2);
  font-weight: 800;
  margin-bottom: 10px;
}
.step h3{ margin: 0 0 6px; }
.step p{ margin: 0; color: var(--text2); line-height: 1.5; }

/* Form */
.form{ margin-top: 18px; }
.form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 16px;
  align-items:start;
}
.panel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}
.panel__title{
  font-weight: 780;
  margin-bottom: 12px;
}

.field{
  display:grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field > span{
  font-size: 13.5px;
  color: var(--text2);
  font-weight: 650;
}
.field small{ color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(36, 50, 74, 0.18);
  border-radius: 12px;
  outline: none;
  font-size: 14.5px;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(11, 58, 120, 0.45);
  box-shadow: 0 0 0 4px rgba(11, 58, 120, 0.10);
}
.hint{
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}

.fieldRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.notice{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 58, 120, 0.18);
  background: rgba(11, 58, 120, 0.05);
  color: var(--text2);
  font-size: 13.5px;
}

.checks{ display:grid; gap: 10px; margin: 8px 0 14px; }
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 13.5px;
  color: var(--text2);
}
.check input{ margin-top: 3px; width: 18px; height: 18px; }
.linklike{
  border:0;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  color: var(--accent2);
  cursor: pointer;
  text-decoration: underline;
}
.actions{ margin-top: 8px; }

/* FAQ */
.faq{
  display:grid;
  gap: 10px;
}
details{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--text2);
}
details p{ margin: 10px 0 0; color: var(--text2); line-height: 1.55; }

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}
.footer__grid{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brandFooter{
  display:flex;
  gap: 12px;
  align-items:center;
}
.brandFooter__mark{
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  display:grid; place-items:center;
  color: white;
  font-weight: 800;
}
.brandFooter__name{ font-weight: 780; }
.brandFooter__meta{ color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.footer__links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__link{
  border: 1px solid rgba(36, 50, 74, 0.18);
  background: rgba(11, 58, 120, 0.05);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 650;
  color: var(--text2);
}
.footer__link:hover{ background: rgba(11, 58, 120, 0.08); }

/* Sticky WhatsApp */
.waSticky{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display:flex;
  align-items:center;
  gap: 10px;
  background: #0a7a5b;
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow2);
}
.waSticky:hover{ filter: brightness(1.02); }

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 100;
}
.modal[aria-hidden="false"]{ display:block; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
}
.modal__panel{
  position: relative;
  width: min(720px, calc(100% - 24px));
  margin: 7vh auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}
.modal__body{ padding: 14px 16px; color: var(--text2); line-height: 1.6; }
.modal__foot{
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:flex-end;
  background: #fbfcff;
}
.iconBtn{
  border:0;
  background: transparent;
  cursor:pointer;
  font-size: 18px;
  padding: 8px 10px;
  border-radius: 10px;
}
.iconBtn:hover{ background: rgba(11, 58, 120, 0.06); }

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .form__grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .burger{ display:block; }
  .brand{ min-width: unset; }
}


/* Invoice */
.radioRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 10px 0 12px;
}
.radio{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.radio input{ width: 18px; height: 18px; }
.invoiceBlock{ margin-top: 10px; }
.panel__title small{ font-weight: 650; color: var(--muted); }
