:root {
  color-scheme: dark;
  --green-950: #061713;
  --green-900: #08251c;
  --green-800: #0c3629;
  --gold: #f0d184;
  --cream: #fff5d8;
  --line: rgba(240, 209, 132, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--green-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--green-950);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero-with-form {
  position: relative;
  aspect-ratio: 1200 / 700;
  overflow: hidden;
  background: var(--green-950);
}

.hero-art,
.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-art img {
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero-form-panel {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(1rem, 5vw, 5.5rem);
  width: min(390px, 34vw);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3.2vw, 3.25rem) clamp(1.25rem, 3vw, 2.75rem);
  border: 1px solid rgba(240, 209, 132, 0.42);
  border-radius: 1rem;
  background:
    linear-gradient(150deg, rgba(16, 59, 44, 0.8) 0%, rgba(8, 37, 28, 0.76) 52%, rgba(6, 23, 19, 0.82) 100%);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px) saturate(115%);
  line-height: 1.4;
}

.lead-form-wrap {
  width: min(100%, 360px);
  margin: 0 auto;
}

.lead-form-wrap h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.08;
}

.lead-form-intro {
  margin: 0.9rem 0 1.35rem;
  color: rgba(255, 245, 216, 0.76);
  font-size: 0.93rem;
}

.lead-form {
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  color: rgba(255, 245, 216, 0.84);
  font-size: 0.75rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(240, 209, 132, 0.3);
  border-radius: 0.65rem;
  outline: none;
  background: rgba(3, 18, 13, 0.52);
  color: var(--cream);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.3;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-field input {
  min-height: 2.7rem;
  padding: 0.65rem 0.75rem;
}

.form-field textarea {
  min-height: 5rem;
  padding: 0.7rem 0.75rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 245, 216, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(3, 18, 13, 0.74);
  box-shadow: 0 0 0 3px rgba(240, 209, 132, 0.12);
}

.form-submit {
  display: inline-flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 0.65rem;
  background: var(--gold);
  color: var(--green-950);
  cursor: pointer;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 700;
  transition: transform 160ms ease, filter 160ms ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.form-status {
  min-height: 1.1rem;
  margin: 0;
  color: var(--gold);
  font-size: 0.73rem;
}

.lp-section,
.lp-section picture,
.lp-section img {
  display: block;
  width: 100%;
}

.lp-section {
  overflow: hidden;
  line-height: 0;
}

.lp-section img {
  height: auto;
  max-width: 2560px;
  margin: 0 auto;
}

.contact-cta {
  position: relative;
  padding: clamp(3.25rem, 7vw, 6rem) 1.25rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(240, 209, 132, 0.14), transparent 35%),
    linear-gradient(135deg, var(--green-800), var(--green-950));
  text-align: center;
  line-height: 1.5;
}

.contact-cta__inner {
  width: min(100%, 760px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-cta h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.contact-cta p:not(.eyebrow) {
  max-width: 560px;
  margin: 1.1rem auto 0;
  color: rgba(255, 245, 216, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-950);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

.floating-cta {
  position: fixed;
  z-index: 10;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 245, 216, 0.28);
  border-radius: 999px;
  background: rgba(8, 37, 28, 0.92);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.28);
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.floating-cta span:first-child {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-950);
  font-size: 1rem;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  background: var(--green-800);
}

.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;
}

/* As artes desktop têm uma área útil central de aproximadamente 1200x700.
 * O container mantém essa proporção e o object-fit recorta apenas as faixas
 * laterais exportadas na imagem, sem distorcer o conteúdo. */
@media (min-width: 768px) {
  .lp-section {
    aspect-ratio: 1200 / 700;
  }

  .lp-section picture {
    height: 100%;
  }

  .lp-section img {
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 767px) {
  .hero-with-form {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
  }

  .hero-art {
    position: relative;
    inset: auto;
  }

  .hero-art,
  .hero-art picture,
  .hero-art img {
    height: auto;
  }

  .hero-art img {
    object-fit: initial;
  }

  .hero-form-panel {
    position: static;
    width: auto;
    transform: none;
    padding: 2.5rem 1.25rem 3rem;
    border-radius: 0;
    border-top: 1px solid rgba(240, 209, 132, 0.2);
    border-left: 0;
    background:
      radial-gradient(circle at 100% 0%, rgba(240, 209, 132, 0.16), transparent 42%),
      linear-gradient(150deg, #103b2c 0%, var(--green-900) 52%, var(--green-950) 100%);
    box-shadow: none;
    backdrop-filter: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
