:root {
  --ink: #17202a;
  --muted: #5b6673;
  --paper: #f7f4ef;
  --white: #ffffff;
  --navy: #15263a;
  --teal: #0f766e;
  --gold: #b9822f;
  --clay: #8f4c38;
  --line: rgba(23, 32, 42, 0.14);
  --shadow: 0 24px 70px rgba(15, 28, 43, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 20, 31, 0.82), rgba(10, 20, 31, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

nav a:hover {
  color: var(--white);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.header-cta {
  color: var(--ink);
  background: var(--white);
}

.primary-button {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.28);
}

.primary-button:hover {
  background: #0b5f59;
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 5vw, 72px) 70px;
  color: var(--white);
  background-image: url("assets/hero-kancelaria.png");
  background-size: cover;
  background-position: center right;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 18, 29, 0.93) 0%, rgba(9, 18, 29, 0.78) 38%, rgba(9, 18, 29, 0.25) 78%),
    linear-gradient(0deg, rgba(9, 18, 29, 0.42), rgba(9, 18, 29, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 46px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-strip div {
  padding: 18px 18px 0 0;
}

.trust-strip dt {
  font-size: 24px;
  font-weight: 850;
}

.trust-strip dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.intro-band,
.section,
.process-band,
.contact-section,
.faq-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy);
  color: var(--white);
}

.intro-item {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.055);
}

.intro-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 850;
}

.intro-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.intro-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.practice-grid p,
.timeline p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

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

.practice-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 28, 39, 0.06);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 6px;
  color: var(--white);
  background: var(--clay);
  font-weight: 850;
}

.process-band {
  background: #ffffff;
}

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

.timeline div {
  border-top: 2px solid var(--line);
  padding-top: 22px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #eef3f1;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfbfa;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 750;
}

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

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

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

summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  padding: 0 24px 22px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #111923;
}

.site-footer p {
  max-width: 680px;
  margin: 0;
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
    background-position: 62% center;
  }

  .intro-band,
  .practice-grid,
  .timeline,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .practice-grid article {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 94vh;
    padding-top: 102px;
    padding-bottom: 48px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(9, 18, 29, 0.95), rgba(9, 18, 29, 0.62));
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .trust-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .trust-strip {
    display: grid;
    gap: 12px;
  }

  .trust-strip div {
    padding-right: 0;
  }

  .intro-band,
  .section,
  .process-band,
  .contact-section,
  .faq-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
