:root {
  --green-deep: oklch(29% 0.065 161);
  --green-dark: oklch(24% 0.055 161);
  --green-mid: oklch(42% 0.08 158);
  --green-soft: oklch(87% 0.035 158);
  --gold: oklch(70% 0.115 82);
  --gold-soft: oklch(86% 0.065 84);
  --cream: oklch(96% 0.022 84);
  --sand: oklch(91% 0.03 82);
  --surface: oklch(98% 0.012 84);
  --ink: oklch(20% 0.025 160);
  --muted: oklch(45% 0.025 160);
  --line: oklch(82% 0.027 84);
  --on-dark: oklch(97% 0.012 84);
  --on-dark-muted: oklch(88% 0.027 84 / 0.74);
  --danger: oklch(58% 0.18 28);
  --shadow: 0 26px 70px oklch(20% 0.035 160 / 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--green-dark);
  background: var(--gold-soft);
  border-radius: 6px;
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 68px);
  color: var(--on-dark);
  background: oklch(24% 0.055 161 / 0.94);
  border-bottom: 1px solid oklch(86% 0.065 84 / 0.18);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 30px oklch(18% 0.04 160 / 0.22);
}

.brand,
.thanks-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  width: 52px;
  height: 58px;
  color: var(--gold);
  border: 1px solid oklch(86% 0.065 84 / 0.48);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 0.78;
}

.brand-text strong,
.brand-text small,
.thanks-brand strong,
.thanks-brand small {
  display: block;
}

.brand-text strong,
.thanks-brand strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}

.brand-text small,
.thanks-brand small {
  color: var(--on-dark-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--on-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid oklch(86% 0.065 84 / 0.36);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--on-dark);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button-primary,
.nav-cta {
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 32px oklch(70% 0.115 82 / 0.28);
}

.button-primary:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px oklch(70% 0.115 82 / 0.34);
}

.button-secondary {
  color: var(--on-dark);
  background: var(--green-deep);
}

.button-secondary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

.hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 87px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 68px);
  color: var(--on-dark);
  background:
    linear-gradient(90deg, oklch(22% 0.052 161 / 0.94), oklch(29% 0.065 161 / 0.78)),
    url("./assets/escritorio-rmbg.jpg") center / cover;
}

.hero-copy {
  min-width: 0;
  max-width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.7vw, 5.9rem);
  line-height: 0.94;
}

.hero h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 640px;
  color: var(--on-dark-muted);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin-top: 42px;
  border-top: 1px solid oklch(86% 0.065 84 / 0.28);
  border-bottom: 1px solid oklch(86% 0.065 84 / 0.28);
}

.hero-proof div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid oklch(86% 0.065 84 / 0.18);
}

.hero-proof div + div {
  padding-left: 18px;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.hero-proof span {
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

.lead-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid oklch(86% 0.065 84 / 0.46);
  border-radius: 12px;
  box-shadow: 0 34px 80px oklch(14% 0.04 160 / 0.34);
}

.lead-card h2 {
  color: var(--green-deep);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
}

.lead-card p {
  color: var(--muted);
}

.form-kicker {
  margin-bottom: 8px;
  color: var(--green-mid) !important;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 18px;
}

label {
  display: grid;
  gap: 7px;
}

label.full {
  grid-column: 1 / -1;
}

label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 116px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px oklch(70% 0.115 82 / 0.18);
  background: var(--surface);
}

.error {
  border-color: var(--danger) !important;
}

.lead-card .button {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: oklch(50% 0.02 160) !important;
  font-size: 0.8rem;
  text-align: center;
}

.identity-strip {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 68px);
  background: var(--surface);
}

.identity-strip img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.identity-strip div {
  max-width: 680px;
}

.identity-strip p:not(.eyebrow),
.section-heading p,
.documents-copy p,
.profile-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section {
  padding: clamp(66px, 10vw, 124px) clamp(18px, 5vw, 68px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 680px;
}

.decision-section {
  background: var(--cream);
}

.decision-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
}

.decision-main {
  display: grid;
  align-content: end;
  min-height: 460px;
  padding: clamp(28px, 4vw, 44px);
  color: var(--on-dark);
  background:
    linear-gradient(180deg, oklch(24% 0.055 161 / 0.12), oklch(20% 0.05 161 / 0.9)),
    url("./assets/advogado-rmbg.jpg") center top / cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.decision-main span {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.decision-main p {
  color: var(--on-dark-muted);
}

.decision-main a {
  width: fit-content;
  color: var(--gold-soft);
  font-weight: 900;
}

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

.decision-list article,
.timeline article,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.decision-list article {
  padding: 24px;
}

.decision-list p,
.timeline p,
.faq-list p {
  color: var(--muted);
}

.method-section {
  color: var(--on-dark);
  background:
    linear-gradient(135deg, var(--green-dark), var(--green-deep)),
    var(--green-deep);
}

.method-section .eyebrow {
  color: var(--gold-soft);
}

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

.timeline article {
  padding: 28px;
  color: var(--on-dark);
  background: oklch(97% 0.012 84 / 0.07);
  border-color: oklch(86% 0.065 84 / 0.18);
}

.timeline span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.documents-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 72px);
  background: var(--sand);
}

.documents-copy {
  max-width: 620px;
}

.document-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--surface);
}

.profile-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.profile-copy {
  max-width: 680px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 70px);
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 68px) clamp(62px, 8vw, 92px);
  padding: clamp(28px, 5vw, 58px);
  color: var(--on-dark);
  background: var(--green-deep);
  border-radius: 10px;
}

.final-band h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 68px);
  color: var(--on-dark-muted);
  background: oklch(18% 0.045 161);
}

.site-footer strong {
  display: block;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.site-footer address {
  display: grid;
  gap: 6px;
  font-style: normal;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.legal {
  grid-column: 1 / -1;
  max-width: 880px;
  margin: 0;
  color: oklch(88% 0.027 84 / 0.5);
  font-size: 0.84rem;
}

.thanks-page {
  min-height: 100vh;
  color: var(--on-dark);
  background:
    linear-gradient(135deg, oklch(20% 0.05 161 / 0.94), oklch(30% 0.065 161 / 0.86)),
    url("./assets/escritorio-rmbg.jpg") center / cover;
}

.thanks-shell {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: center;
  gap: 26px;
  padding: 34px 18px;
}

.thanks-brand {
  color: var(--on-dark);
}

.thanks-card {
  width: min(100%, 720px);
  padding: clamp(30px, 6vw, 64px);
  text-align: center;
  background: oklch(18% 0.045 161 / 0.88);
  border: 1px solid oklch(86% 0.065 84 / 0.24);
  border-radius: 12px;
  box-shadow: 0 34px 90px oklch(10% 0.035 160 / 0.44);
}

.thanks-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.thanks-card p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--on-dark-muted);
  font-size: 1.05rem;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  color: var(--green-dark);
  background: #25d366;
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.28);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.36);
}

.thanks-next {
  display: grid;
  gap: 4px;
  width: min(100%, 720px);
  padding: 18px 20px;
  color: var(--on-dark);
  background: oklch(97% 0.012 84 / 0.08);
  border: 1px solid oklch(86% 0.065 84 / 0.18);
  border-radius: 8px;
}

.thanks-next span {
  color: var(--on-dark-muted);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 86px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--green-dark);
    border: 1px solid oklch(86% 0.065 84 / 0.22);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .identity-strip,
  .decision-layout,
  .documents-section,
  .profile-section,
  .faq-section,
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

  .lead-card {
    max-width: 680px;
  }

  .decision-list,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-text small {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    width: 100%;
    max-width: 320px;
  }

  h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .hero-lead {
    width: 100%;
    max-width: 320px;
    overflow-wrap: anywhere;
  }

  .hero-proof,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .hero-proof div + div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid oklch(86% 0.065 84 / 0.18);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  label.full {
    grid-column: auto;
  }

  .identity-strip img {
    min-height: 260px;
  }

  .decision-main {
    min-height: 360px;
  }

  .final-band {
    align-items: stretch;
    flex-direction: column;
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
  }

  .final-band .button,
  .whatsapp-button {
    width: 100%;
  }
}

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