
:root {
  --green: #16794b;
  --green-dark: #105c38;
  --green-light: #e8f5ed;
  --text: #18251e;
  --text-soft: #68756d;
  --border: #e4eae5;
  --background: #ffffff;
  --surface: #f7f9f7;
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(20, 45, 30, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

body,
input,
button {
  font-family: "DM Sans", sans-serif;
}

button,
input {
  font-size: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(22, 121, 75, 0.25);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 234, 229, 0.8);
  backdrop-filter: blur(14px);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.1px;
}

.logo > span:first-child {
  color: var(--green);
}

.logo-dot {
  color: #f2ad4b;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--green);
}

.hero {
  padding: 94px 0 86px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(210, 240, 221, 0.5), transparent 38%),
    linear-gradient(180deg, #fbfdfb 0%, #ffffff 100%);
}

.hero-content {
  text-align: center;
  max-width: 850px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35a76c;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
}

.hero h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 610px;
  margin: 0 auto 28px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-full {
  width: 100%;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 25px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 12px;
}

.hero-benefits span span {
  color: var(--green);
  font-weight: 800;
}

.tools-section {
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 34px;
}

.section-heading h2,
.calculator-intro h2,
.about-content h2 {
  margin: 12px 0 0;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 800;
}

.section-heading > p {
  max-width: 380px;
  margin-bottom: 3px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  min-height: 54px;
  padding: 0 15px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.search-icon {
  color: var(--text-soft);
  font-size: 26px;
  line-height: 1;
}

.search-wrapper input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search-wrapper input:focus-visible {
  outline: none;
}

.search-wrapper kbd {
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-soft);
  font-size: 12px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.filter-button {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-soft);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.tools-count {
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 12px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  min-width: 0;
  padding: 23px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: #cbded0;
  box-shadow: var(--shadow);
}

.tool-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 800;
}

.icon-green {
  color: #16794b;
  background: #e7f5eb;
}

.icon-blue {
  color: #2867a6;
  background: #e9f2fc;
}

.icon-orange {
  color: #a96313;
  background: #fff2df;
}

.icon-purple {
  color: #7650a9;
  background: #f1eafd;
}

.tool-tag {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 10px 0;
  font-size: 17px;
  letter-spacing: -0.5px;
}

.tool-card p {
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.tool-link:hover {
  color: var(--green-dark);
}

.empty-state {
  padding: 30px 0;
  color: var(--text-soft);
  text-align: center;
}

.calculator-section {
  background: var(--surface);
  scroll-margin-top: 85px;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
  gap: 70px;
}

.calculator-intro {
  padding-top: 20px;
}

.calculator-intro h2 {
  margin-bottom: 20px;
}

.calculator-intro > p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.help-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 27px;
  padding: 18px;
  border: 1px solid #dcece1;
  border-radius: 12px;
  background: #eff8f1;
}

.help-note > span {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #d7ecde;
  font-size: 13px;
  font-weight: 800;
}

.help-note p {
  margin: 0;
  color: #476452;
  font-size: 12px;
  line-height: 1.8;
}

.help-note strong {
  color: #235638;
}

.calculator-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(20, 45, 30, 0.06);
}

.calculator-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 27px;
}

.step-label,
.result-label {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.calculator-card-heading h3 {
  margin: 7px 0 0;
  font-size: 21px;
}

.calculator-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green);
  background: var(--green-light);
  font-size: 22px;
  font-weight: 800;
}

.form-field {
  margin-bottom: 19px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.form-field small {
  display: block;
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.6;
}

.input-with-prefix,
.input-with-suffix {
  min-height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe6e0;
  border-radius: 9px;
  background: #fff;
}

.input-with-prefix > span,
.input-with-suffix > span {
  flex-shrink: 0;
  padding: 0 13px;
  color: var(--text-soft);
  font-size: 13px;
}

.input-with-prefix > span {
  border-right: 1px solid var(--border);
  background: #fafcfa;
}

.input-with-suffix > span {
  border-left: 1px solid var(--border);
  background: #fafcfa;
}

.input-with-prefix input,
.input-with-suffix input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 14px;
}

.input-with-prefix:focus-within,
.input-with-suffix:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 121, 75, 0.08);
}

.input-with-prefix input:focus-visible,
.input-with-suffix input:focus-visible {
  outline: none;
}

.form-error {
  margin: 0 0 15px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.6;
}

.result-box {
  margin-top: 23px;
  padding: 20px;
  border: 1px solid #dcece1;
  border-radius: 13px;
  background: #f5fbf6;
}

.result-label {
  display: block;
}

.result-price {
  display: block;
  margin: 8px 0 15px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}

.result-divider {
  height: 1px;
  margin: 15px 0;
  background: #dce8de;
}

.result-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
  font-size: 12px;
}

.result-row > span {
  color: var(--text-soft);
}

.result-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.result-profit strong {
  color: var(--green);
}

.result-explanation,
.result-status {
  margin: 14px 0 0;
  color: #476452;
  font-size: 12px;
  line-height: 1.7;
}

.result-status {
  font-weight: 700;
}

.profit-section {
  background: #fff;
}

.about-section {
  background: #f8faf8;
}

.about-content {
  max-width: 820px;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.9;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 45px;
  text-align: left;
}

.about-points > div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.about-points > div > span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.about-points strong {
  display: block;
  font-size: 13px;
}

.about-points p {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  padding: 27px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-size: 19px;
}

.footer-content p,
.footer-content > span {
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: min(380px, calc(100% - 40px));
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-layout {
    gap: 35px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 520px);
  }

  .section {
    padding: 60px 0;
  }

  .header-content {
    min-height: 68px;
  }

  .logo {
    font-size: 21px;
  }

  .main-nav {
    gap: 14px;
    font-size: 11px;
  }

  .hero {
    padding: 68px 0 60px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-benefits {
    gap: 9px 15px;
    font-size: 11px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 21px;
  }

  .tool-icon {
    margin-bottom: 15px;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .calculator-intro {
    padding-top: 0;
  }

  .calculator-card {
    padding: 21px;
  }

  .about-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Estilos adicionais das novas ferramentas para empreendedores. */
.form-field > input,
.form-field > select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #dfe6e0;
  border-radius: 9px;
  outline: 0;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.form-field > input:focus,
.form-field > select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 121, 75, 0.08);
}

.extra-tools-section {
  scroll-margin-top: 85px;
}

.receipt-preview {
  margin-bottom: 18px;
}

.receipt-paper {
  padding: 24px;
  border: 1px dashed #b8c9bc;
  border-radius: 10px;
  background: #fff;
  color: #24352a;
  line-height: 1.8;
}

.receipt-paper h2 {
  margin: 0 0 22px;
  text-align: center;
  letter-spacing: 2px;
}

.receipt-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 42px;
  text-align: center;
}

.receipt-signature small {
  color: var(--text-soft);
}

.cash-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 22px;
}

.cash-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fafcfa;
  font-size: 13px;
}

.cash-summary span,
.cash-movement-list small {
  color: var(--text-soft);
}

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

.cash-list-wrap h4 {
  margin: 22px 0 12px;
}

.cash-movement-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 12px;
}

.cash-movement-list li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-wrap: anywhere;
}

.cash-movement-list li > strong {
  text-align: right;
  white-space: nowrap;
}

.cash-movement-list .cash-entrada {
  color: var(--green);
}

.cash-movement-list .cash-saida {
  color: var(--danger);
}

.cash-remove {
  grid-column: 1 / -1;
  justify-self: end;
  padding: 3px 0;
  border: 0;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.cash-remove:hover {
  color: var(--danger);
}

.cash-empty {
  display: block !important;
  color: var(--text-soft);
}

@media print {
  body * {
    visibility: hidden;
  }

  .receipt-preview,
  .receipt-preview * {
    visibility: visible;
  }

  .receipt-preview {
    position: absolute;
    inset: 0;
    padding: 20px;
  }
}

.button-secondary {
  color: var(--text);
  border-color: var(--border);
  background: #f7faf7;
}

.button-secondary:hover {
  background: #edf4ee;
}

.fiscal-operation-panel ol{padding-left:22px;line-height:1.75;color:#46534a}.fiscal-operation-panel li{margin:7px 0}.fiscal-operation-panel a{color:var(--green);font-weight:700}


/* Páginas institucionais e links de transparência */
.footer-content { flex-wrap: wrap; }
.footer-links { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; }
.footer-links a { color:var(--text-soft); font-size:12px; text-decoration:none; }
.footer-links a:hover { color:var(--green); text-decoration:underline; }
.info-hero { padding:58px 0 34px; background:linear-gradient(135deg,#f2faf5,#fff); }
.info-hero h1 { margin:14px 0; font-family:Manrope,sans-serif; font-size:clamp(2rem,5vw,3.2rem); line-height:1.15; letter-spacing:-.035em; }
.info-hero h1 span { color:var(--green); }
.info-hero p { max-width:760px; color:var(--text-soft); line-height:1.8; }
.info-content { max-width:850px; margin:0 auto; }
.info-card { padding:clamp(20px,4vw,30px); margin:20px 0; border:1px solid var(--border); border-radius:16px; background:#fff; }
.info-card h2 { font-family:Manrope,sans-serif; font-size:1.25rem; }
.info-card p,.info-card li { color:var(--text-soft); line-height:1.8; }
.info-card a { color:var(--green); }
.info-meta { color:var(--text-soft); font-size:.9rem; }
.contact-form { display:grid; gap:16px; }
.contact-form label { display:grid; gap:7px; font-weight:600; font-size:.94rem; }
.contact-form input,.contact-form select,.contact-form textarea { width:100%; min-height:46px; padding:12px 14px; border:1px solid var(--border); border-radius:10px; background:#fff; color:var(--text); font:inherit; }
.contact-form textarea { min-height:150px; resize:vertical; }
.contact-consent { display:flex!important; grid-template-columns:auto 1fr; align-items:start; gap:10px!important; font-weight:400!important; line-height:1.6; }
.contact-consent input { width:auto; min-height:auto; margin-top:5px; }
.form-status { padding:14px 16px; margin-top:14px; border-radius:10px; background:#f2faf5; color:var(--text); line-height:1.65; }
.form-status[hidden] { display:none; }
.form-status.error { background:#fff3f1; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
@media(max-width:700px) { .footer-links { width:100%; } .info-hero { padding-top:40px; } }

