:root {
  --color-text: #2a3340;
  --color-text-light: #56616f;
  --color-bg: #ffffff;
  --color-services-bg: #eef2f7;
  --color-footer: #1a2c45;
  --color-footer-soft: #243a59;
  --color-gold: #b08642;
  --color-dark-button: #181d24;
  --max-width: 1140px;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ============== HEADER ============== */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

.main-nav a {
  color: #2a3340;
  font-size: 15px;
  font-weight: 600;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--color-gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #2a3340;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,30,45,.78) 0%, rgba(20,30,45,.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 auto 24px;
  letter-spacing: -.01em;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  margin-bottom: 36px;
  color: rgba(255,255,255,.92);
}

.btn-cta {
  display: inline-block;
  background: var(--color-dark-button);
  color: #fff;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background .25s ease, transform .15s ease;
}

.btn-cta:hover {
  background: #2a3340;
  transform: translateY(-1px);
}

/* ============== ABOUT ============== */
.about {
  padding: 90px 0 80px;
  background: #fff;
}

.section-title-left {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a2333;
  margin-bottom: 48px;
  letter-spacing: -.01em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-col-title {
  font-size: 17px;
  font-weight: 700;
  color: #2a3340;
  margin-bottom: 18px;
}

.about-col p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-col strong {
  color: #2a3340;
  font-weight: 700;
}

.about-attendance {
  font-weight: 600;
  color: #2a3340 !important;
}

/* ============== LAWYER PHOTO ============== */
.lawyer-photo {
  padding: 0 0 80px;
  background: #fff;
}

.lawyer-img {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(20,30,45,.18);
}

/* ============== SERVICES ============== */
.services {
  background: var(--color-services-bg);
  padding: 90px 0 110px;
}

.services-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a2333;
  margin-bottom: 28px;
}

.services-intro {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 70px;
}

.service-block {
  text-align: center;
  margin-bottom: 80px;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-heading {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  color: #1a2333;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin-bottom: 30px;
  display: inline-flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: 560px;
  text-align: left;
}

.service-heading--saude {
  max-width: 100%;
  align-items: center;
}

.service-heading .emoji {
  font-size: 1em;
  display: inline-block;
  line-height: 1;
}

.service-sub {
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  margin: 0 auto 32px;
  max-width: 640px;
}

.service-list li {
  font-size: 15px;
  color: var(--color-text-light);
  padding: 12px 0;
  line-height: 1.5;
}

.service-closing {
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 720px;
  margin: 28px auto 0;
  line-height: 1.7;
}

.service-closing strong {
  color: #2a3340;
  font-weight: 700;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--color-footer);
  color: #fff;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: .03em;
}

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}

.footer-tel,
.footer-email {
  text-align: center;
}

.footer-tel a,
.footer-email a {
  color: rgba(255,255,255,.92);
  transition: color .2s ease;
}

.footer-tel a:hover,
.footer-email a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  color: #fff;
}

.social-icons a {
  color: #fff;
  display: inline-flex;
  transition: opacity .2s ease, transform .2s ease;
}

.social-icons a:hover {
  opacity: .75;
  transform: translateY(-1px);
}

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.78);
}

.contact-form label > span {
  margin-bottom: 4px;
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 4px;
  background: #e9ecf1;
  color: #2a3340;
  outline: none;
  resize: vertical;
  transition: box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,.4);
}

.contact-form textarea {
  min-height: 110px;
  font-family: inherit;
}

.btn-submit {
  align-self: flex-end;
  margin-top: 6px;
  background: var(--color-dark-button);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, transform .15s ease;
}

.btn-submit:hover {
  background: #2a3340;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 24px 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .main-nav.is-open ul {
    flex-direction: column;
    gap: 16px;
  }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .hero { min-height: 480px; padding: 60px 0; }
  .hero-title { font-size: clamp(26px, 6.5vw, 38px); }

  .about { padding: 60px 0 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .lawyer-photo { padding: 0 0 60px; }

  .services { padding: 60px 0 70px; }
  .service-block { margin-bottom: 60px; }
  .service-heading { font-size: clamp(28px, 8vw, 36px); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    text-align: left;
  }
  .footer-tel,
  .footer-email { text-align: left; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 14px 18px; }
  .brand-logo { height: 36px; }
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .btn-cta { padding: 13px 28px; font-size: 14px; }
  .service-heading { font-size: 26px; gap: 12px; }
}
