﻿:root {
  --green-950: #075f49;
  --green-900: #087a54;
  --green-700: #18a66f;
  --green-500: #8ccf5f;
  --lime-300: #d4ef8f;
  --gold: #c9a24a;
  --ink: #1b2b28;
  --muted: #66736f;
  --line: #dbe6e1;
  --paper: #f7faf5;
  --white: #ffffff;
  --warm: #f3eee5;
  --shadow: 0 24px 70px rgba(7, 95, 73, 0.14);
  --radius: 8px;
  color-scheme: light;
}


/* Cole este bloco no fim do seu CSS se o logo ainda aparecer grande. */
.nav {
  min-height: 58px !important;
  padding-block: 6px !important;
}

.brand {
  width: auto !important;
  max-width: 132px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 132px !important;
  max-height: 36px !important;
  object-fit: contain !important;
}

.footer img {
  width: auto !important;
  height: auto !important;
  max-width: 118px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  .nav {
    min-height: 54px !important;
  }

  .brand {
    max-width: 118px !important;
  }

  .brand img {
    max-width: 118px !important;
    max-height: 32px !important;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 50px !important;
    padding-block: 5px !important;
  }

  .brand {
    max-width: 104px !important;
  }

  .brand img {
    max-width: 104px !important;
    max-height: 28px !important;
  }

  .footer img {
    max-width: 104px !important;
    max-height: 28px !important;
  }
}

/* Ajuste definitivo do logotipo apos visualizacao real. */
:root {
  --logo-header-width: 190px;
  --logo-header-height: 82px;
  --logo-footer-width: 160px;
  --logo-footer-height: 70px;
}

.nav {
  min-height: calc(var(--logo-header-height) + 24px) !important;
  padding-block: 8px !important;
}

.brand {
  width: auto !important;
  max-width: var(--logo-header-width) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-header-width) !important;
  max-height: var(--logo-header-height) !important;
  object-fit: contain !important;
}

.footer img {
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-footer-width) !important;
  max-height: var(--logo-footer-height) !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  :root {
    --logo-header-width: 165px;
    --logo-header-height: 71px;
    --logo-footer-width: 142px;
    --logo-footer-height: 61px;
  }
}

@media (max-width: 680px) {
  :root {
    --logo-header-width: 138px;
    --logo-header-height: 60px;
    --logo-footer-width: 126px;
    --logo-footer-height: 54px;
  }

  .nav {
    min-height: calc(var(--logo-header-height) + 20px) !important;
    padding-block: 6px !important;
  }
}

/* Logo atualizado pelo cliente. */
:root {
  --logo-header-width: 190px;
  --logo-header-height: 82px;
  --logo-footer-width: 160px;
  --logo-footer-height: 70px;
}

@media (max-width: 980px) {
  :root {
    --logo-header-width: 165px;
    --logo-header-height: 71px;
    --logo-footer-width: 142px;
    --logo-footer-height: 61px;
  }
}

@media (max-width: 680px) {
  :root {
    --logo-header-width: 138px;
    --logo-header-height: 60px;
    --logo-footer-width: 126px;
    --logo-footer-height: 54px;
  }
}

/* Logo atualizado pelo cliente. */
:root {
  --logo-header-width: 190px;
  --logo-header-height: 82px;
  --logo-footer-width: 160px;
  --logo-footer-height: 70px;
}

@media (max-width: 980px) {
  :root {
    --logo-header-width: 165px;
    --logo-header-height: 71px;
    --logo-footer-width: 142px;
    --logo-footer-height: 61px;
  }
}

@media (max-width: 680px) {
  :root {
    --logo-header-width: 138px;
    --logo-header-height: 60px;
    --logo-footer-width: 126px;
    --logo-footer-height: 54px;
  }
}

/* Ajuste definitivo do logotipo apos visualizacao real. */
:root {
  --logo-header-width: 190px;
  --logo-header-height: 82px;
  --logo-footer-width: 160px;
  --logo-footer-height: 70px;
}

.nav {
  min-height: calc(var(--logo-header-height) + 24px) !important;
  padding-block: 8px !important;
}

.brand {
  width: auto !important;
  max-width: var(--logo-header-width) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-header-width) !important;
  max-height: var(--logo-header-height) !important;
  object-fit: contain !important;
}

.footer img {
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-footer-width) !important;
  max-height: var(--logo-footer-height) !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  :root {
    --logo-header-width: 165px;
    --logo-header-height: 71px;
    --logo-footer-width: 142px;
    --logo-footer-height: 61px;
  }
}

@media (max-width: 680px) {
  :root {
    --logo-header-width: 138px;
    --logo-header-height: 60px;
    --logo-footer-width: 126px;
    --logo-footer-height: 54px;
  }

  .nav {
    min-height: calc(var(--logo-header-height) + 20px) !important;
    padding-block: 6px !important;
  }
}

/* Ajuste final do logotipo: aumente/diminua só estas variáveis se precisar. */
:root {
  --logo-header-width: 158px;
  --logo-header-height: 44px;
  --logo-footer-width: 138px;
  --logo-footer-height: 38px;
}

.nav {
  min-height: calc(var(--logo-header-height) + 22px) !important;
  padding-block: 8px !important;
}

.brand {
  width: auto !important;
  max-width: var(--logo-header-width) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-header-width) !important;
  max-height: var(--logo-header-height) !important;
  object-fit: contain !important;
}

.footer img {
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-footer-width) !important;
  max-height: var(--logo-footer-height) !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  :root {
    --logo-header-width: 142px;
    --logo-header-height: 38px;
    --logo-footer-width: 126px;
    --logo-footer-height: 34px;
  }
}

@media (max-width: 680px) {
  :root {
    --logo-header-width: 124px;
    --logo-header-height: 34px;
    --logo-footer-width: 116px;
    --logo-footer-height: 32px;
  }

  .nav {
    min-height: calc(var(--logo-header-height) + 18px) !important;
    padding-block: 6px !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--green-950);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 230, 225, 0.72);
}

.topbar {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar svg,
.nav svg,
.button svg,
.trust-band svg,
.product-card__media svg,
.doc-list svg,
.feature-list svg,
.contact-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.icon-whatsapp {
  fill: none;
  overflow: visible;
}

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

.brand {
  width: 216px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #31423f;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green-500);
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-950);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  max-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 95, 73, 0.88) 0%, rgba(8, 122, 84, 0.7) 38%, rgba(24, 166, 111, 0.34) 72%, rgba(24, 166, 111, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 95, 73, 0.1), rgba(7, 95, 73, 0.38));
}

.hero__content {
  position: relative;
  width: min(1520px, calc(100% - 64px));
  margin-inline: auto;
  padding: 70px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 800px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2.85rem, 7.2vw, 5.9rem);
  line-height: 0.93;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero .eyebrow {
  color: var(--lime-300);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
}

.hero__banner {
  width: min(700px, 100%);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 4px solid var(--lime-300);
  border-radius: var(--radius);
  background: rgba(7, 95, 73, 0.35);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.hero__banner svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--lime-300);
  flex: 0 0 auto;
}

.hero__banner strong {
  display: block;
  color: var(--white);
  line-height: 1.2;
}

.hero__banner span {
  display: block;
  margin-top: 4px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero__actions,
.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(8, 122, 84, 0.2);
}

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

.button--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.hero__facts {
  width: min(700px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
}

.hero__facts div {
  padding: 18px;
  border-left: 3px solid var(--lime-300);
  background: rgba(7, 95, 73, 0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero__facts dt {
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.hero__facts dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.trust-band {
  background: var(--green-950);
  color: var(--white);
}

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

.trust-band span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.section {
  padding: 94px 0;
}

.section--intro {
  background: linear-gradient(180deg, var(--paper), var(--white));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.intro-copy {
  color: #4f615c;
  font-size: 1.06rem;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading p:not(.eyebrow),
.intro-copy p,
.documents-grid > div > p:not(.eyebrow),
.feature-panel p,
.faq-list p,
.contact-grid p,
.result-note {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.section-heading--light h2,
.section-heading--light p,
.section-heading--light .eyebrow {
  color: var(--white);
}

.section-heading--light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

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

.product-card,
.doc-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 16px 44px rgba(1, 61, 46, 0.07);
}

.product-card__media > svg,
.doc-list svg {
  width: 38px;
  height: 38px;
  color: var(--green-700);
  background: #e9f5e3;
  border-radius: var(--radius);
  padding: 8px;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9f5e3;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 520ms ease, filter 520ms ease;
}

.product-card__media > svg {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(1, 61, 46, 0.2);
}

.doc-list svg {
  margin-bottom: 18px;
}

.product-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(8, 122, 84, 0.35);
  box-shadow: 0 22px 52px rgba(1, 61, 46, 0.13);
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

.product-card p,
.doc-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #43534f;
  font-size: 0.92rem;
}

.product-card li {
  position: relative;
  padding-left: 18px;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.section--simulator {
  position: relative;
  background:
    linear-gradient(135deg, rgba(7, 95, 73, 0.9), rgba(8, 122, 84, 0.86)),
    url("assets/hero.jpg") center / cover;
  color: var(--white);
}

.simulator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.simulator-panel,
.result-panel,
.loan-request-panel,
.contact-form,
.feature-panel,
.quote-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.simulator-panel,
.loan-request-panel,
.contact-form {
  background: var(--white);
  color: var(--ink);
  padding: 28px;
}

.loan-request-panel {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border: 1px solid rgba(219, 230, 225, 0.86);
}

.loan-request-panel.is-open,
.loan-request-panel:target {
  display: grid;
}

.loan-request-intro {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 12px;
}

.loan-request-intro h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.loan-request-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.loan-request-form {
  display: grid;
  gap: 18px;
}

.form-section-title {
  margin: 8px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--green-950);
  font-size: 1rem;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: #eef4ef;
  border-radius: var(--radius);
}

.tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #52635e;
  font-weight: 800;
  cursor: pointer;
}

.tab.is-active {
  background: var(--white);
  color: var(--green-950);
  box-shadow: 0 8px 22px rgba(1, 61, 46, 0.1);
}

.fixed-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.fixed-term {
  min-height: 124px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid #dcebe2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fcf8, #edf6ef);
}

.fixed-term svg {
  width: 25px;
  height: 25px;
  color: var(--green-700);
}

.fixed-term span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fixed-term strong {
  color: var(--green-950);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.sim-form {
  display: none;
}

.sim-form.is-active {
  display: grid;
  gap: 20px;
}

.field,
.contact-form {
  display: grid;
  gap: 9px;
}

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

label,
.check-field {
  color: #30423e;
  font-size: 0.92rem;
  font-weight: 800;
}

.check-field--block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dcebe2;
  border-radius: var(--radius);
  background: #f8fcf8;
}

.check-field--block input {
  width: auto;
  margin-top: 4px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfded8;
  border-radius: var(--radius);
  background: #fbfdfb;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(8, 122, 84, 0.12);
}

.money-input,
.unit-input {
  display: flex;
  align-items: center;
  border: 1px solid #cfded8;
  border-radius: var(--radius);
  background: #fbfdfb;
  overflow: hidden;
}

.money-input:focus-within,
.unit-input:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(8, 122, 84, 0.12);
}

.money-input span,
.unit-input span {
  min-width: 68px;
  padding-inline: 13px;
  color: var(--green-900);
  font-weight: 800;
}

.money-input input,
.unit-input input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.range {
  accent-color: var(--green-700);
  padding: 0;
}

.check-field {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cfded8;
  border-radius: var(--radius);
  background: #fbfdfb;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--green-700);
}

.result-panel {
  display: flex;
  flex-direction: column;
  background: #fdfdf8;
  color: var(--ink);
  padding: 28px;
}

.result-kicker {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-main {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.result-main span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.result-main strong {
  display: block;
  margin-top: 8px;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.result-grid div {
  padding: 14px;
  border-radius: var(--radius);
  background: #eef6ee;
}

.result-grid dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.result-grid dd {
  margin: 5px 0 0;
  color: var(--green-950);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.schedule {
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.schedule__head,
.schedule__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #43534f;
  font-size: 0.88rem;
  font-weight: 800;
}

.schedule__bar {
  display: flex;
  height: 14px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3ed;
}

.schedule__bar span {
  display: block;
  min-width: 0;
}

#principalBar {
  width: 68%;
  background: var(--green-700);
}

#interestBar {
  width: 32%;
  background: var(--gold);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  margin-right: 6px;
}

.dot--principal {
  background: var(--green-700);
}

.dot--interest {
  background: var(--gold);
}

.result-whatsapp {
  width: 100%;
  margin-top: 18px;
}

.result-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.steps li {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border-top: 3px solid var(--green-500);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fbf5, #fff);
  box-shadow: 0 16px 44px rgba(1, 61, 46, 0.07);
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.section--documents {
  background: var(--paper);
}

.documents-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
}

.documents-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-panel {
  background: var(--green-950);
  color: var(--white);
  padding: 38px;
}

.feature-panel h2 {
  color: var(--white);
}

.feature-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.quote-panel {
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(243, 238, 229, 0.86), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at top left, rgba(201, 162, 74, 0.35), transparent 35%);
}

.quote-panel p {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.12;
  font-weight: 800;
}

.quote-panel span {
  margin-top: 18px;
  color: var(--green-700);
  font-weight: 800;
}

.section--faq {
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: 46px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--green-950);
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 640ms ease, transform 640ms ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

.section--contact {
  background:
    linear-gradient(90deg, rgba(7, 95, 73, 0.88), rgba(8, 122, 84, 0.82)),
    url("assets/hero.jpg") center / cover;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.contact-grid h2,
.contact-grid .eyebrow {
  color: var(--white);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
}

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

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.contact-form {
  gap: 17px;
}

textarea {
  resize: vertical;
  min-height: 128px;
}

.footer {
  background: #f5f7f3;
  border-top: 1px solid var(--line);
}

.footer__inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer img {
  width: 180px;
}

@media (max-width: 980px) {
  .topbar__inner {
    gap: 12px;
  }

  .nav {
    min-height: 70px;
  }

  .brand {
    width: 188px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(7, 95, 73, 0.74) 0%, rgba(8, 122, 84, 0.6) 52%, rgba(24, 166, 111, 0.36) 100%),
      linear-gradient(90deg, rgba(7, 95, 73, 0.78), rgba(24, 166, 111, 0.26));
  }

  .hero__image {
    object-position: 61% center;
  }

  .trust-band__grid,
  .product-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split--reverse,
  .simulator-shell,
  .loan-request-panel,
  .documents-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .documents-grid,
  .faq-grid,
  .contact-grid,
  .loan-request-panel,
  .split {
    gap: 32px;
  }

  .loan-request-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .topbar {
    display: none;
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    width: 154px;
  }

  .nav-toggle {
    min-height: 42px;
    padding: 9px 10px;
  }

  .hero {
    min-height: auto;
    max-height: none;
    align-items: end;
  }

  .hero__content {
    padding: 42px 0 34px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(2.65rem, 13.5vw, 3.95rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 9px;
  }

  .hero__lead {
    margin-top: 16px;
    max-width: 340px;
    font-size: 1rem;
  }

  .hero__banner {
    gap: 10px;
    margin-top: 16px;
    padding: 13px 14px;
    border-left-width: 0;
    border-top: 3px solid var(--lime-300);
    background: rgba(7, 95, 73, 0.38);
  }

  .hero__banner svg {
    width: 20px;
    height: 20px;
  }

  .hero__banner span {
    font-size: 0.86rem;
    line-height: 1.36;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 44px;
    padding: 11px 14px;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 22px;
  }

  .hero__facts div {
    padding: 10px 8px;
    border-left: 0;
    border-top: 3px solid var(--lime-300);
  }

  .hero__facts dt {
    font-size: 1.22rem;
  }

  .hero__facts dd {
    margin-top: 5px;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading p:not(.eyebrow),
  .intro-copy,
  .documents-grid > div > p:not(.eyebrow),
  .contact-grid p {
    font-size: 0.97rem;
  }

  .trust-band__grid,
  .product-grid,
  .steps,
  .doc-list,
  .field-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .trust-band__grid {
    gap: 8px;
    padding: 12px 0;
  }

  .trust-band span {
    padding: 10px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
  }

  .hero__facts div,
  .doc-list article,
  .simulator-panel,
  .result-panel,
  .loan-request-panel,
  .contact-form,
  .feature-panel,
  .quote-panel {
    padding: 16px;
  }

  .product-grid,
  .doc-list,
  .steps,
  .faq-list {
    gap: 10px;
  }

  #solucoes .product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin-inline: -14px;
    padding: 4px 14px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #solucoes .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    flex: 0 0 min(318px, 84vw);
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 7px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(1, 61, 46, 0.08);
  }

  .product-card__media {
    grid-row: 1 / span 3;
    width: 106px;
    aspect-ratio: 1;
    margin: 0;
  }

  .product-card__media > svg {
    left: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .product-card p {
    margin-top: 0;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .product-card ul {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.78rem;
  }

  .product-card li {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef6ee;
    color: #40534d;
    font-weight: 700;
  }

  .product-card li::before {
    display: none;
  }

  .product-card:active,
  .doc-list article:active,
  .steps li:active {
    transform: scale(0.992);
  }

  .steps li {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 15px;
    border-top: 0;
    border-left: 3px solid var(--green-500);
    box-shadow: 0 10px 28px rgba(1, 61, 46, 0.08);
  }

  .steps span {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 999px;
    background: #f3eee5;
    color: var(--green-900);
  }

  .steps p {
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .doc-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 5px;
    box-shadow: 0 10px 28px rgba(1, 61, 46, 0.08);
  }

  .doc-list svg {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .doc-list p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .simulator-shell {
    gap: 12px;
  }

  .simulator-panel,
  .result-panel,
  .contact-form,
  .feature-panel,
  .quote-panel {
    box-shadow: 0 12px 32px rgba(1, 61, 46, 0.13);
  }

  .sim-form.is-active {
    gap: 14px;
  }

  input,
  select,
  textarea {
    padding: 11px 12px;
  }

  .money-input span,
  .unit-input span {
    min-width: 58px;
    padding-inline: 10px;
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
  }

  .fixed-terms {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .fixed-term {
    min-height: auto;
    padding: 14px;
  }

  .tab {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .result-main {
    padding-bottom: 16px;
  }

  .result-main strong {
    font-size: 2.2rem;
  }

  .result-grid {
    gap: 8px;
    margin: 16px 0;
  }

  .result-grid div,
  .schedule {
    padding: 12px;
  }

  .quote-panel {
    min-height: 230px;
  }

  details {
    padding: 15px 16px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}

/* Correção final: mantém o logotipo pequeno e impede que o header cresça. */
.nav {
  min-height: 58px !important;
  padding-block: 6px !important;
}

.brand {
  width: auto !important;
  max-width: 132px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 132px !important;
  max-height: 36px !important;
  object-fit: contain !important;
}

.footer img {
  width: auto !important;
  height: auto !important;
  max-width: 118px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  .nav {
    min-height: 54px !important;
  }

  .brand {
    max-width: 118px !important;
  }

  .brand img {
    max-width: 118px !important;
    max-height: 32px !important;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 50px !important;
    padding-block: 5px !important;
  }

  .brand {
    max-width: 104px !important;
  }

  .brand img {
    max-width: 104px !important;
    max-height: 28px !important;
  }

  .footer img {
    max-width: 104px !important;
    max-height: 28px !important;
  }
}

/* Ajuste definitivo do logotipo apos visualizacao real. */
:root {
  --logo-header-width: 190px;
  --logo-header-height: 82px;
  --logo-footer-width: 160px;
  --logo-footer-height: 70px;
}

.nav {
  min-height: calc(var(--logo-header-height) + 24px) !important;
  padding-block: 8px !important;
}

.brand {
  width: auto !important;
  max-width: var(--logo-header-width) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-header-width) !important;
  max-height: var(--logo-header-height) !important;
  object-fit: contain !important;
}

.footer img {
  width: auto !important;
  height: auto !important;
  max-width: var(--logo-footer-width) !important;
  max-height: var(--logo-footer-height) !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  :root {
    --logo-header-width: 165px;
    --logo-header-height: 71px;
    --logo-footer-width: 142px;
    --logo-footer-height: 61px;
  }
}

@media (max-width: 680px) {
  :root {
    --logo-header-width: 138px;
    --logo-header-height: 60px;
    --logo-footer-width: 126px;
    --logo-footer-height: 54px;
  }

  .nav {
    min-height: calc(var(--logo-header-height) + 20px) !important;
    padding-block: 6px !important;
  }
}

