/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --cream:      #FAF8F4;
  --cream-card: #F7F4EF;
  --cream-mid:  #EDE8DF;
  --gold:       #A8894A;
  --gold-light: #C4A96A;
  --dark:       #2f2f2f;
  --dark-navy:  #202340;
  --mid:        #5c5545;
  --light-text: #7a7060;
  --border:     #d5cfc4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --max-w: 1200px;
  --section-pad: 100px 60px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad);
}

.container--narrow {
  max-width: 860px;
}

.container--center {
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 36px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 15px 32px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--dark-navy);
  color: #fff;
  border: 2px solid var(--dark-navy);
}
.btn--primary:hover {
  background: #2d3159;
  border-color: #2d3159;
}

.btn--outline {
  background: transparent;
  color: var(--dark-navy);
  border: 2px solid var(--dark-navy);
}
.btn--outline:hover {
  background: var(--dark-navy);
  color: #fff;
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gold);
  font-size: 13px;
  padding: 13px 28px;
}
.btn--outline-dark:hover {
  background: var(--gold);
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--cream);
}

.hero__content {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  background: var(--cream-mid);
  padding: 6px 14px;
  margin-bottom: 28px;
  color: var(--mid);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 32px;
}

.hero__quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 0 0 28px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-style: normal;
  color: var(--mid);
  font-weight: 400;
  line-height: 1.6;
}

.hero__body {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 14px;
}

.hero__location {
  font-size: 13.5px;
  color: var(--mid);
  margin: 18px 0 36px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

/* Gradient fade: left edge dissolves into cream background */
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 38%);
  pointer-events: none;
}

/* ============================================================
   ÁREAS DE ATUAÇÃO
   ============================================================ */
.areas {
  background: var(--cream);
}

.areas .container {
  padding-bottom: 80px;
}

.areas .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 40px;
}

.areas__card {
  display: flex;
  gap: 20px;
  padding: 24px 40px 24px 0;
}

.areas__card + .areas__card {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}

.areas__card-bar {
  width: 3px;
  min-height: 100%;
  background: var(--dark);
  flex-shrink: 0;
}

.areas__card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}

.areas__card-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.areas__footnote {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--mid);
  font-style: italic;
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 85vh;
  background: var(--cream);
}

.sobre__image {
  overflow: hidden;
  position: relative;
  background: var(--cream-card);
}

.sobre__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient fade: right edge dissolves into cream-card (text is on the right) */
.sobre__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--cream-card) 0%, transparent 38%);
  pointer-events: none;
}

.sobre__content {
  padding: 80px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream-card);
}

.sobre__body {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.75;
}

.sobre__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.sobre__feature {
  border: 1.5px solid var(--dark);
  padding: 18px 22px;
}

.sobre__feature strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--dark);
}

.sobre__feature p {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
}

/* ============================================================
   O ESCRITÓRIO
   ============================================================ */
.escritorio {
  background: var(--cream);
}

.escritorio .container {
  padding-top: 100px;
  padding-bottom: 100px;
  margin: 0 auto;
}

.escritorio__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
}

.escritorio__body {
  font-size: 15px;
  color: var(--mid);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.escritorio__quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--mid);
  max-width: 680px;
}

/* ============================================================
   FORMAÇÃO
   ============================================================ */
.formacao {
  background: var(--cream);
}

.formacao .section-title {
  text-align: center;
}

.formacao__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.formacao__card {
  background: var(--cream-card);
  border-radius: 18px 0 18px 0;
  padding: 36px 30px;
}

.formacao__card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}

.formacao__card-body {
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.6;
}

.formacao__footnote {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--mid);
  font-style: italic;
}

/* ============================================================
   DEFESA CRIMINAL
   ============================================================ */
.defesa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  background: var(--cream-card);
}

.defesa__content {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.defesa__body {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 14px;
  line-height: 1.75;
}

.defesa__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.defesa__card {
  display: flex;
  gap: 16px;
  border: 1.5px solid var(--dark);
  padding: 18px 22px;
}

.defesa__card-bar {
  width: 3px;
  background: var(--gold);
  flex-shrink: 0;
  min-height: 100%;
}

.defesa__card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}

.defesa__card-body {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
}

.defesa__image {
  overflow: hidden;
  position: relative;
}

.defesa__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos {
  background: var(--cream);
}

.depoimentos .section-title {
  text-align: center;
}

.depoimentos__subtitle {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--mid);
  margin-bottom: 56px;
  display: block;
}

.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
}

.depoimento__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 14px;
}

.depoimento__author {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 6px;
}

.depoimento__stars {
  font-size: 13px;
  color: var(--gold-light);
}

/* ============================================================
   COMPROMISSO
   ============================================================ */
.compromisso {
  background: var(--cream);
}

.compromisso .container {
  padding-top: 100px;
  padding-bottom: 100px;
  margin: 0 auto;
}

.compromisso__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 40px;
  text-align: center;
}

.compromisso__sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--mid);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 0;
  display: block;
}

.compromisso__location {
  text-align: center;
  font-size: 14px;
  color: var(--mid);
  margin-top: 0;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 75vh;
  background: var(--cream-card);
}

.contato__image {
  overflow: hidden;
  position: relative;
}

.contato__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contato__content {
  padding: 80px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contato__body {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 0;
}

.contato__info {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato__info li {
  font-size: 15px;
  color: var(--dark);
}

.contato__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--cream);
  padding: 80px 60px 60px;
  text-align: center;
}

.footer__logo {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--dark);
}

.footer__subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--light-text);
}

.footer__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px auto;
  max-width: 900px;
}

.footer__areas {
  font-size: 13.5px;
  color: var(--mid);
  letter-spacing: 0.04em;
  padding: 8px 0;
}

.footer__location {
  font-size: 13.5px;
  color: var(--mid);
  padding: 8px 0;
}

.footer__copy {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--light-text);
  font-style: italic;
  padding: 8px 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --section-pad: 60px 32px;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__content {
    padding: 60px 32px;
    order: 1;
  }
  .hero__image {
    order: 0;
    height: 55vw;
    min-height: 300px;
    max-height: 480px;
  }

  /* Áreas */
  .areas__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .areas__card + .areas__card {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 32px;
  }
  .areas .section-title { text-align: left; }

  /* Sobre */
  .sobre {
    grid-template-columns: 1fr;
  }
  .sobre__image {
    height: 60vw;
    min-height: 280px;
  }
  .sobre__content {
    padding: 48px 32px;
  }

  /* Formação */
  .formacao__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Defesa */
  .defesa {
    grid-template-columns: 1fr;
  }
  .defesa__content {
    padding: 60px 32px;
    order: 1;
  }
  .defesa__image {
    order: 0;
    height: 60vw;
    min-height: 300px;
  }

  /* Depoimentos */
  .depoimentos__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Contato */
  .contato {
    grid-template-columns: 1fr;
  }
  .contato__image {
    height: 55vw;
    min-height: 260px;
  }
  .contato__content {
    padding: 60px 32px;
  }

  /* Escritório */
  .escritorio__title {
    text-align: left;
    font-size: clamp(2rem, 7vw, 3.5rem);
  }
  .escritorio__body {
    text-align: left;
    margin-left: 0;
  }

  /* Compromisso */
  .compromisso__title {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  /* Footer */
  .footer {
    padding: 60px 32px 40px;
  }
}

@media (max-width: 540px) {
  .hero__cta, .contato__cta {
    flex-direction: column;
  }
  .btn {
    text-align: center;
  }
}

/* ============================================================
   GRADIENT FADES — img 3 and 4
   ============================================================ */

/* 3.jpeg (Defesa) — text is on the LEFT, so dissolve the left edge of the photo */
.defesa__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream-card) 0%, transparent 38%);
  pointer-events: none;
}

/* 4.jpeg (Contato) — text is on the RIGHT, so dissolve the right edge of the photo */
.contato__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--cream-card) 0%, transparent 38%);
  pointer-events: none;
}
