:root {
  --ink: #171817;
  --muted: #6d6d68;
  --line: #dcdad4;
  --paper: #FAFAFA;
  --card: #fffefa;
  --accent: #b69872;
  --error: #9d403b;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  width: min(100% - 48px, 1400px);
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 24, 23, .12);
}

.brand { text-decoration: none; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: clamp(180px, 16vw, 230px); height: auto; mix-blend-mode: multiply; }

.hero {
  --hero-gap: clamp(48px, 7vw, 120px);
  width: min(100% - 48px, 1400px);
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 510px);
  gap: var(--hero-gap);
  align-items: center;
  padding: clamp(50px, 7vh, 96px) 0 clamp(64px, 8vh, 110px);
}

.hero-copy { min-width: 0; }

.eyebrow, .form-kicker {
  margin: 0 0 26px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 23px; height: 1px; background: var(--accent); }

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: "Nunito Sans", "Avenir Next Rounded", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(40px, 5.15vw, 74px);
  line-height: .96;
  letter-spacing: -.075em;
  font-weight: 400;
}

.headline-line { display: block; }

h1 em {
  font-family: var(--serif);
  font-size: 1.03em;
  font-weight: 400;
  letter-spacing: -.07em;
}

.hero-intro {
  max-width: 510px;
  margin-bottom: 0;
  color: #5f605b;
  font-size: 16px;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  /* A foto atravessa o espaço entre as colunas até a borda do formulário. */
  width: calc(100% + var(--hero-gap));
  aspect-ratio: 1.86 / 1;
  margin-top: clamp(8px, 1.2vw, 18px);
  overflow: hidden;
  background-color: var(--paper);
  background-image: url('assets/images/imagem-principal.png');
  background-position: center 52%;
  background-size: cover;
  isolation: isolate;
}

/* Imagem principal substituível em assets/images/imagem-principal.png. */

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--paper) 0%,
    rgba(250, 250, 250, .94) 8%,
    rgba(250, 250, 250, .48) 18%,
    rgba(250, 250, 250, 0) 32%
  );
  content: '';
  pointer-events: none;
}

.hero-visual::after {
  display: none;
}

.architecture { display: none; }

.building { position: absolute; bottom: 0; display: block; background: #777870; }
.building-back { right: 20%; width: 29%; height: 68%; background: #a9a397; transform: skewY(-8deg); transform-origin: bottom; }
.building-main { right: 4%; width: 47%; height: 55%; background: #272b29; clip-path: polygon(10% 0, 100% 13%, 100% 100%, 0 100%); }

.window { position: absolute; z-index: 1; display: block; background: rgba(224,215,197,.8); box-shadow: inset 0 0 0 1px rgba(23,24,23,.14); }
.window-a { right: 35%; bottom: 25%; width: 7%; height: 17%; }
.window-b { right: 21%; bottom: 23%; width: 7%; height: 18%; }
.window-c { right: 10%; bottom: 22%; width: 7%; height: 18%; }
.window-d { right: 29%; bottom: 50%; width: 15%; height: 3px; background: var(--accent); box-shadow: none; opacity: .8; }

.plant { position: absolute; z-index: 2; bottom: 0; display: block; width: 2px; height: 24%; background: #394338; transform-origin: bottom; }
.plant::before, .plant::after { position: absolute; width: 35px; height: 10px; border-radius: 100% 0; background: #596253; content: ''; }
.plant::before { right: -31px; top: 15px; transform: rotate(-18deg); }
.plant::after { left: -28px; top: 34px; transform: rotate(25deg) scaleX(-1); }
.plant-a { left: 22%; height: 26%; transform: rotate(8deg); }
.plant-b { left: 26%; height: 19%; transform: rotate(-9deg); opacity: .65; }
.ground-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(23,24,23,.35); }

.form-column { width: 100%; justify-self: end; max-width: 510px; }

.why-section {
  width: min(100% - 48px, 1400px);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 150px) 0 clamp(72px, 9vw, 124px);
}

.why-intro { max-width: 690px; }
.why-intro h2 { max-width: 670px; margin-bottom: 18px; font-size: clamp(32px, 4.3vw, 58px); line-height: 1.02; }
.why-description { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 94px);
  border-top: 1px solid var(--line);
}

.benefit { min-height: 222px; padding: 23px 24px 0 0; }
.benefit + .benefit { padding-left: 24px; border-left: 1px solid var(--line); }
.benefit-number { margin-bottom: 42px; color: var(--accent); font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.benefit h3 { max-width: 190px; margin-bottom: 12px; font-family: var(--display); font-size: 16px; line-height: 1.18; letter-spacing: -.035em; font-weight: 600; }
.benefit > p:last-child { max-width: 230px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.62; }

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  margin-top: clamp(74px, 9vw, 128px);
  padding: clamp(32px, 5vw, 64px) clamp(26px, 5vw, 68px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.final-cta::after { position: absolute; right: 8%; bottom: -135px; width: 260px; height: 260px; border: 1px solid rgba(182,152,114,.44); border-radius: 50%; content: ''; pointer-events: none; }
.cta-copy { position: relative; z-index: 1; max-width: 680px; }
.final-cta h2 { max-width: 620px; margin-bottom: 14px; font-size: clamp(27px, 3.4vw, 46px); line-height: 1.02; }
.final-cta .cta-copy > p:last-child { max-width: 530px; margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
.cta-button { position: relative; z-index: 1; width: min(100%, 235px); min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.cta-button:hover { background: #e7dece; transform: translateY(-1px); }
.cta-button:focus-visible { outline: 2px solid #d8bc94; outline-offset: 4px; }
.cta-button .button-arrow { color: #8f7659; }

.form-card {
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--card);
  box-shadow: 0 18px 55px rgba(38, 35, 29, .07);
  animation: form-in 700ms 120ms both cubic-bezier(.2,.7,.2,1);
}

.form-heading { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-kicker { margin-bottom: 9px; color: #8f7659; }

h2 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 600;
}

.form-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.intent-fieldset { display: grid; grid-template-columns: 1fr 1fr; height: 40px; margin: 18px 0 0; padding: 2px; border: 1px solid var(--line); }
.intent-option { position: relative; min-width: 0; display: block; margin: 0; cursor: pointer; }
.intent-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.intent-option > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #696a64; font-size: 12px; font-weight: 500; transition: background 180ms ease, color 180ms ease; }
.intent-option input:checked + span { background: var(--ink); color: #fff; }
.intent-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -3px; }
.intent-error { margin: 3px 0 -5px; }
.form-section-label { margin: 17px 0 8px; color: #3d3f3b; font-family: var(--display); font-size: 11px; font-weight: 700; }
.form-section-label + .field-grid { padding-top: 0; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; padding-top: 20px; }
.field-full { grid-column: 1 / -1; }

label {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 5px;
  color: #3d3f3b;
  font-size: 11px;
  font-weight: 600;
}

label span { color: var(--accent); }
label small { margin-left: 3px; color: #999990; font-size: 10px; font-weight: 400; }

input, select {
  width: 100%;
  height: 39px;
  padding: 0 13px;
  border: 1px solid #d8d7d0;
  border-radius: 2px;
  outline: 0;
  background: #fffefa;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input::placeholder { color: #adada5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%2371716a' stroke-width='1.2' d='m2.5 4.5 3.5 3 3.5-3'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; padding-right: 34px; }
select:invalid, select option[disabled] { color: #adada5; }
input:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(182,152,114,.22); background: #fff; }

.field-error { min-height: 12px; margin: 3px 0 -3px; color: var(--error); font-size: 9px; line-height: 1.35; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field-hint { min-height: 12px; margin: 3px 0 -3px; color: #8d8d84; font-size: 9px; line-height: 1.35; }

.form-actions { margin-top: 5px; }
.consent-field { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 2px; color: #6c6d67; cursor: pointer; font-size: 9px; font-weight: 400; line-height: 1.35; text-align: center; }
.consent-field > span { color: inherit; }
.consent-field input { flex: 0 0 17px; width: 17px; height: 17px; margin: 0; padding: 0; border: 1px solid #b9b7af; border-radius: 2px; appearance: none; background: #fffefa; cursor: pointer; }
.consent-field input:checked { border-color: var(--ink); background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.3 2.3L10 2.7' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; }
.consent-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent-error { margin: 2px 0 5px; }
.submit-button { position: relative; width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 2px; background: var(--ink); color: #fff; cursor: pointer; font-size: 11px; font-weight: 600; transition: background 180ms ease, transform 180ms ease; }
.submit-button:hover { background: #343734; transform: translateY(-1px); }
.submit-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .7; transform: none; }
.button-arrow { color: #cbb18f; font-size: 18px; font-weight: 400; transition: transform 180ms ease; }
.submit-button:hover .button-arrow { transform: translateX(4px); }
.privacy-note { margin: 7px 0 0; color: #8d8d84; font-size: 9px; text-align: center; }
.privacy-note span { padding-right: 3px; color: var(--accent); font-size: 13px; }
.form-status { min-height: 17px; margin: 12px 0 0; color: var(--error); font-size: 11px; text-align: center; }

.success-state { min-height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.success-state h2 { max-width: 260px; margin-bottom: 16px; }
.success-state p { max-width: 280px; margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.success-state a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 19px; background: var(--ink); color: #fff; font-size: 12px; text-decoration: none; transition: background 180ms ease; }
.success-state a:hover { background: #343734; }

.site-footer { width: min(100% - 48px, 1400px); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(23,24,23,.12); color: #85857e; font-size: 10px; }
.footer-logo { display: block; width: 142px; height: auto; mix-blend-mode: multiply; }

@keyframes form-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .hero { --hero-gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); }
  h1 { font-size: clamp(38px, 5vw, 58px); }
  .hero-visual { aspect-ratio: 1.86 / 1; }
  .why-section { width: min(100% - 48px, 760px); }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit { min-height: 208px; padding-top: 23px; }
  .benefit:nth-child(3), .benefit:nth-child(4) { border-top: 1px solid var(--line); }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(4) { padding-left: 24px; }
}

@media (max-width: 760px) {
  .site-header, .hero, .site-footer { width: min(100% - 36px, 620px); }
  .site-header { min-height: 72px; }
  .hero { min-height: auto; display: block; padding: 53px 0 68px; }
  .hero-copy { max-width: none; }
  h1 { max-width: 570px; font-size: clamp(41px, 11vw, 64px); }
  .hero-intro { font-size: 15px; }
  .hero-visual { width: 100%; aspect-ratio: 1.86 / 1; margin-top: 10px; }
  .form-column { max-width: none; margin-top: 42px; }
  .form-card { padding: 24px 22px; }
  .intent-fieldset { margin-top: 18px; }
  .why-section { width: min(100% - 36px, 620px); padding-top: 78px; }
  .why-intro h2 { font-size: clamp(31px, 8vw, 48px); }
  .final-cta { grid-template-columns: 1fr; gap: 30px; }
  .cta-button { width: 100%; }
  .site-footer { min-height: 100px; flex-wrap: wrap; padding: 22px 0; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 470px) {
  .site-header, .hero, .site-footer { width: min(100% - 32px, 620px); }
  h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-visual { aspect-ratio: 1.86 / 1; }
  .why-section { width: min(100% - 32px, 620px); padding-top: 68px; }
  .benefits-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .benefit, .benefit + .benefit, .benefit:nth-child(3), .benefit:nth-child(4) { min-height: auto; padding: 21px 0 25px; border-top: 1px solid var(--line); border-left: 0; }
  .benefit-number { margin-bottom: 28px; }
  .benefit h3 { max-width: none; }
  .benefit > p:last-child { max-width: 330px; }
  .final-cta { margin-top: 54px; padding: 31px 22px; }
  .final-cta h2 { font-size: 30px; }
  .field-grid { grid-template-columns: 1fr; gap: 14px; }
  .field-full { grid-column: auto; }
  .form-column { margin-top: 35px; }
  .form-card { padding: 21px 17px; }
  .intent-fieldset { height: 40px; }
  .form-heading { padding-bottom: 18px; }
  .field-grid { padding-top: 18px; }
  .success-state { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
