:root {
  --green: #0c6835;
  --green-dark: #084c27;
  --green-deep: #063b1e;
  --gold: #d0ae6e;
  --gold-dark: #b88f4e;
  --cream: #f8f1e4;
  --page-gray: #e2e2e2;
  --white: #ffffff;
  --text: #233028;
  --muted: #5b6a62;
  --shadow-lg: 0 22px 55px rgba(5, 39, 20, 0.12);
  --shadow-md: 0 14px 35px rgba(5, 39, 20, 0.09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1220px;
  --header-height: 84px;
  --font-base: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background: var(--page-gray);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(226, 226, 226, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(8, 76, 39, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
}

.brand-logo {
  width: 142px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
}

.main-nav a:hover {
  color: var(--green);
}

.nav-cta,
.btn {
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 14px 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-cta,
.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}

.nav-cta:hover,
.btn-gold:hover {
  background: #dbbb81;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #eef1ed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 99px;
  transition: 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: calc(var(--header-height) + 24px) 0 18px;
  background: linear-gradient(135deg, #0a5a2e 0%, #0c6835 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 59, 30, 0.28), rgba(12, 104, 53, 0.12)),
    url("./images/Assinatura%20de%20e-mail%20Latic%C3%ADnios%20Bom%20Jardim.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.12;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(208, 174, 110, 0.05);
  top: -170px;
  right: -120px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(650px, 0.96fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 150px);
}

.hero-content {
  max-width: 720px;
}

.hero-founded {
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 3.65vw, 4.35rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-highlight {
  color: var(--gold);
  font-style: normal;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-line-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 292px;
  padding: 12px 0 0;
}

.hero-line-image {
  position: relative;
  z-index: 2;
  width: min(100%, 570px);
  height: auto;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.18));
}

.hero-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  background: rgba(248, 241, 228, 0.98);
  border-radius: 28px;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
}

.hero-cta-copy h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 1.55rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-cta-copy h2 span {
  display: block;
}

.section {
  padding: 70px 0;
}

.compact-section {
  padding: 48px 0 42px;
}

.section-light {
  background: var(--page-gray);
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--green-deep);
  color: var(--white);
}

.section-intro {
  margin-bottom: 26px;
}

.section-intro.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-intro.narrow {
  max-width: 1040px;
}

.section-intro h2,
.quality-copy h2,
.faq-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.05vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green-deep);
}

.section-dark .quality-copy h2 {
  color: var(--white);
}

.section-intro p,
.quality-copy p,
.faq-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 1rem;
}

.section-dark .quality-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.section-kicker,
.modal-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-single-line {
  white-space: nowrap;
}

.benefits-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(226, 226, 226, 0.86), rgba(226, 226, 226, 0.9)),
    url("./images/Assinatura%20de%20e-mail%20Latic%C3%ADnios%20Bom%20Jardim.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.benefits-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 116px;
  pointer-events: none;
  opacity: 0.78;
}

.benefits-mountains::before,
.benefits-mountains::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  clip-path: polygon(
    0 76%,
    8% 52%,
    17% 74%,
    27% 42%,
    38% 70%,
    49% 40%,
    61% 72%,
    72% 44%,
    84% 72%,
    100% 46%,
    100% 100%,
    0 100%
  );
}

.benefits-mountains::before {
  background: rgba(12, 104, 53, 0.13);
  transform: translateY(30px);
}

.benefits-mountains::after {
  background: rgba(208, 174, 110, 0.2);
  transform: translateY(52px) scaleX(1.05);
}

.benefits-section .container {
  position: relative;
  z-index: 2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-card,
.step-card,
.faq-item,
.quality-item {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.benefit-card {
  background: rgba(248, 241, 228, 0.96);
  padding: 20px;
}

.benefit-index,
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 900;
  font-size: 1rem;
}

.benefit-card h3,
.step-card h3,
.quality-item h3 {
  margin: 16px 0 0;
  color: var(--green-deep);
  font-size: 1.13rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.benefit-card p,
.step-card p,
.quality-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.cta-strip {
  background: var(--green);
  color: var(--white);
  padding: 38px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-strip-copy {
  max-width: 720px;
}

.cta-strip-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.65vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cta-strip-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.quality-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #063b1e 0%, #084c27 100%);
}

.quality-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 130px;
  pointer-events: none;
  overflow: hidden;
}

.quality-mountains::before,
.quality-mountains::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  clip-path: polygon(
    0 78%,
    8% 46%,
    17% 70%,
    27% 36%,
    38% 72%,
    49% 42%,
    61% 74%,
    73% 38%,
    86% 72%,
    100% 44%,
    100% 100%,
    0 100%
  );
}

.quality-mountains::before {
  background: rgba(208, 174, 110, 0.15);
  transform: translateY(38px);
}

.quality-mountains::after {
  background: rgba(226, 226, 226, 0.08);
  transform: translateY(62px) scaleX(1.06);
}

.quality-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.95fr);
  gap: 54px;
  align-items: start;
}

.quality-copy {
  position: relative;
}

.quality-side {
  display: flex;
  flex-direction: column;
}

.quality-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quality-item {
  background: rgba(248, 241, 228, 0.98);
  padding: 20px;
}

.quality-item h3 {
  margin-top: 0;
}

.quality-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

#como-funciona {
  padding-top: 64px;
  padding-bottom: 64px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--white);
  padding: 20px;
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
}

.faq-copy .btn {
  margin-top: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--cream);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--green-deep);
  padding: 22px;
  text-align: left;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question span {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(8, 76, 39, 0.1);
}

.faq-question span::before,
.faq-question span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 99px;
  background: var(--green-deep);
  transform: translate(-50%, -50%);
}

.faq-question span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: 0.2s ease;
}

.faq-item.is-open .faq-question span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.62;
}

.site-footer {
  background: var(--green-deep);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 118px;
  height: auto;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  z-index: 999;
  left: 16px;
  right: 16px;
  bottom: 14px;
  border: 0;
  min-height: 52px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 13, 0.62);
  backdrop-filter: blur(8px);
}

.modal-panel,
.success-panel {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}

.success-panel {
  width: min(500px, 100%);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--green-deep);
  font-size: 2rem;
  line-height: 1;
}

.modal-header h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.modal-header p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.lead-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid span {
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--green-deep);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9e1d7;
  border-radius: 14px;
  background: #f8faf8;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(12, 104, 53, 0.08);
}

.btn-submit {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-feedback.is-success {
  display: block;
  background: #e5f4e9;
  color: #0c5f31;
}

.form-feedback.is-error {
  display: block;
  background: #fbe9e9;
  color: #8d2222;
}

.success-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: var(--green);
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
}

.success-panel h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.success-panel p {
  margin: 14px 0 24px;
  color: var(--muted);
  line-height: 1.58;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .quality-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-content,
  .hero-side {
    max-width: 100%;
  }

  .desktop-single-line {
    white-space: normal;
  }

  .benefits-grid,
  .steps-grid,
  .quality-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 7vw, 4rem);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .brand,
  .brand-logo {
    width: 120px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--page-gray);
    padding: 18px;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: calc(var(--header-height) + 24px) 0 26px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
  }

  .hero-line-visual {
    min-height: 220px;
  }

  .hero-cta-card {
    grid-template-columns: 1fr;
  }

  .cta-strip-inner,
  .footer-inner,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .quality-action {
    justify-content: flex-start;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 620px) {
  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .compact-section {
    padding: 46px 0 40px;
  }

  .benefits-grid,
  .steps-grid,
  .quality-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-card,
  .modal-panel,
  .success-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-line-visual {
    min-height: 180px;
  }

  .hero-line-image {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-cta-copy h2,
  .modal-header h2 {
    font-size: 1.75rem;
  }

  .section-intro h2,
  .quality-copy h2,
  .faq-copy h2 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .footer-brand {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}