:root {
  --ink: #152033;
  --navy: #0f2742;
  --blue: #173e63;
  --gold: #b99052;
  --paper: #f7f1e8;
  --white: #fffaf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.hero {
  min-height: 92vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 24, 41, 0.92) 0%, rgba(12, 34, 55, 0.78) 42%, rgba(12, 34, 55, 0.24) 100%),
    url("assets/rodrigo-advogado-hero.png") center / cover;
  display: flex;
  flex-direction: column;
}

.nav {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(255, 250, 242, 0.46);
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 7px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand strong {
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.brand small {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(255, 250, 242, 0.82);
}

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

.hero-content {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
  padding: 72px 0 104px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 6vw, 5.75rem);
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 250, 242, 0.84);
  font-size: 1.16rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 700;
  border-radius: 4px;
}

.button.primary {
  background: var(--gold);
  color: #141414;
}

.button.secondary {
  border-color: rgba(255, 250, 242, 0.36);
  color: var(--white);
}

.intro {
  width: min(1160px, calc(100% - 40px));
  margin: -48px auto 0;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 24px 60px rgba(16, 32, 51, 0.16);
}

.intro div {
  padding: 28px;
  border-right: 1px solid #eadfce;
}

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

.stat {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 8px;
}

.intro p,
.area-card p,
.process-copy p,
.contact p,
.contact-panel p {
  margin: 0;
  color: #4c5966;
  line-height: 1.65;
}

.section,
.process,
.contact,
.form-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-card {
  min-height: 238px;
  padding: 26px;
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: 6px;
}

.area-card h3 {
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.process {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  border-top: 1px solid #d8ccba;
  border-bottom: 1px solid #d8ccba;
}

.process-copy p {
  margin-top: 22px;
}

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

.steps li {
  min-height: 86px;
  padding: 22px;
  background: #102742;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 6px;
  font-weight: 700;
}

.steps span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: stretch;
}

.contact p {
  margin-top: 20px;
  max-width: 640px;
}

.contact-panel {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 6px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.contact-logo {
  width: 150px;
  max-width: 100%;
  background: var(--white);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 8px;
}

.contact-panel span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-panel a {
  font-family: Georgia, serif;
  font-size: 1.75rem;
}

.contact-panel .email-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-panel p {
  color: rgba(255, 250, 242, 0.72);
  margin: 0;
}

.form-section {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100% - 1160px) / 2));
  background:
    linear-gradient(90deg, rgba(12, 42, 46, 0.94), rgba(12, 42, 46, 0.86)),
    url("assets/rodrigo-advogado-hero.png") center / cover;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: start;
}

.form-copy h2 {
  color: var(--white);
}

.form-copy p:not(.eyebrow) {
  color: rgba(255, 250, 242, 0.76);
  line-height: 1.7;
  margin: 22px 0 0;
}

.lead-form {
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 8px;
  background: rgba(12, 39, 47, 0.62);
  padding: clamp(24px, 5vw, 44px);
  display: grid;
  gap: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.lead-form label {
  display: grid;
  gap: 9px;
}

.lead-form span {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 4px;
  background: rgba(255, 250, 242, 0.05);
  color: var(--white);
  font: inherit;
  padding: 16px 18px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
  min-height: 128px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 250, 242, 0.48);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 144, 82, 0.22);
}

.lead-form button {
  min-height: 58px;
  border: 0;
  border-radius: 4px;
  background: #2fc0ca;
  color: #0d2530;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.lead-form button:hover {
  background: #46d3dc;
}

.lead-form p {
  color: rgba(255, 250, 242, 0.62);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: 820px;
    background:
      linear-gradient(180deg, rgba(10, 24, 41, 0.95) 0%, rgba(12, 34, 55, 0.82) 54%, rgba(12, 34, 55, 0.42) 100%),
      url("assets/rodrigo-advogado-hero.png") center / cover;
  }

  .intro,
  .area-grid,
  .process,
  .contact,
  .form-section {
    grid-template-columns: 1fr;
  }

  .intro div {
    border-right: 0;
    border-bottom: 1px solid #eadfce;
  }

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

  .section,
  .process,
  .contact,
  .form-section {
    padding: 68px 0;
  }

  .form-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 520px) {
  .hero-content,
  .nav,
  .intro,
  .section,
  .process,
  .contact {
    width: min(100% - 28px, 1160px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .nav-links {
    font-size: 0.82rem;
  }

  .area-card,
  .contact-panel,
  .lead-form {
    padding: 22px;
  }
}
