/* ============================================================
  RAMIRO FREITAS ADVOCACIA — Estilos
   Paleta: branco quente / creme + vinho (acolhedor, elegante)
   Metodologia: BEM
   ============================================================ */

/* ---------- Variáveis ---------- */

:root {
  --green: #1f8a4c;
  --wine: #6e1423;
  --wine-dark: #3d0814;
  --wine-light: #8c2f3d;
  --wine-soft: #f0e2e4;
  --gold: #b9925a;
  --cream: #f7f3ec;
  --cream-deep: #efe9df;
  --paper: #fbf9f5;
  --white: #ffffff;
  --ink: #2d3134;
  --ink-cream: #5c544f;
  --ink-soft: #6a6066;
  --line: #e6ddd1;
  --shadow: 0 24px 60px rgba(70, 16, 26, 0.12);
  --shadow-soft: 0 10px 30px rgba(70, 16, 26, 0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", "Playfair Display", serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

.page {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-padding-top: 50px;

  scroll-behavior: smooth;
}

/* ============================================================
   Bloco: button
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--primary {
  background-color: var(--wine);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button--primary:hover {
  background-color: var(--wine-dark);
}

.button--outline {
  background-color: transparent;
  color: var(--wine);
  border-color: var(--line);
}

.button--outline:hover {
  border-color: var(--wine);
  background-color: var(--paper);
}

.button--whatsapp {
  background-color: #1f8a4c;
  color: var(--white);

  box-shadow: var(--shadow-soft);
}

.button--whatsapp:hover {
  background-color: #186e3c;
}

.button__arrow {
  transition: transform var(--transition);
}

.button:hover .button__arrow {
  transform: translateX(4px);
}

.button__icon {
  width: 18px;
  height: 18px;
}

.button__icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================================
   Bloco: header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(10px);

  background-color: var(--ink-cream);
}

.header__brand-logo {
  height: 80px;
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.header__brand-icon {
  width: 30px;
  height: 30px;
  color: var(--wine);
  flex-shrink: 0;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wine);
}

.header__brand-role {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.header__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--wine);
  border-radius: 3px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ============================================================
   Bloco: nav
   ============================================================ */
.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav__link {
  text-decoration: none;
  color: var(--ink-soft);

  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1.5px;
  width: 0;
  background-color: var(--wine);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--wine);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background-color: var(--wine);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: var(--wine-dark);
  color: var(--white);
}

/* ============================================================
   Bloco: hero
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  background-color: var(--cream);
}

.hero__text {
  display: flex;
  align-items: center;
  padding: 3.5rem 2.5rem;
  padding-left: max(2.5rem, calc((100vw - var(--max)) / 2 + 1.5rem));
}

.hero__text-inner {
  max-width: 34rem;
  margin-left: 0;
}

.hero__eyebrow {
  letter-spacing: 0.04em;
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
  font-family: var(--font-body);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
}

.hero__title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 1.5px;
  margin-top: 0.85rem;
  background-color: var(--wine);
}

.hero__title-accent {
  color: inherit;
}

.hero__lead {
  letter-spacing: 0.05em;
  margin: 1.6rem 0 2.2rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  color: var(--gold);
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Bloco: stats ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stats__item {
  display: flex;
  flex-direction: column;
}

.stats__value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine);
  line-height: 1.1;
}

.stats__label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* ---------- hero media ---------- */
.hero__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url("images/rec1.png");
  background-size: cover;
  background-position: center;
}

.hero__image::after {
  content: "";
  position: absolute;
  left: auto;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(43, 35, 38, 0.05) 50%,
    var(--cream) 100%
  );
}

/* .hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43, 35, 38, 0.05) 50%,
    var(--cream) 100%
  );
} */

.hero__quote {
  position: absolute;
  left: 1.5rem;
  right: max(1.5rem, calc((100vw - var(--max)) / 2 + 1.5rem));
  bottom: 1.5rem;
  background-color: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
}

.hero__quote-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 0.8rem;
}

.hero__quote-info {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.6;
}

.hero__features {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hero__feature {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.hero__feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wine);
  font-weight: 700;
}

/* ============================================================
   Bloco: section-nav (navegação em cards)
   ============================================================ */
.section-nav {
  background-color: var(--cream);

  padding: 1rem 0 3rem 0;
  display: none;
}

.section-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.nav-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--ink-cream);
  border-radius: 20px;
  min-height: 280px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(70, 16, 26, 0.15);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-card::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(
    to right,
    rgba(43, 35, 38, 0) 50%,
    var(--ink-cream) 100%
  );
}

.nav-card--humanizada::before {
  background-image:
    linear-gradient(to right, rgba(43, 35, 38, 0) 60%, var(--ink-cream) 100%),
    url("images/card1.png");
}

.nav-card--areas::before {
  background:
    linear-gradient(to right, rgba(43, 35, 38, 0) 60%, var(--ink-cream) 100%)
      center / cover no-repeat,
    url("images/card2.png") top center / cover no-repeat;
}

.nav-card--historia::before {
  background-image:
    linear-gradient(to right, rgba(43, 35, 38, 0) 60%, var(--ink-cream) 100%),
    url("images/card3.png");
}

.nav-card--chegar::before {
  background-image:
    linear-gradient(to right, rgba(43, 35, 38, 0) 60%, var(--ink-cream) 100%),
    url("images/card4.png");
}

.nav-card__btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--wine);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition),
    background-color var(--transition);
  box-shadow: 0 4px 12px rgba(110, 20, 35, 0.3);

  z-index: 1;
}

.nav-card__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-card__btn:hover {
  background-color: var(--wine-dark);
  transform: translateX(4px);
}

.nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(70, 16, 26, 0.25);
}

.nav-card__content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background-color: var(--ink-cream);
}

.nav-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.nav-card__icon svg {
  width: 100%;
  height: 100%;
}

.nav-card__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.nav-card__desc {
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   Bloco: mobile-nav-bottom (навигація мобільна внизу)
   ============================================================ */
.mobile-nav-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--ink);
  border-top: 1px solid var(--line);
  display: none;
  z-index: 99;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-nav-bottom__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70px;
}

.mobile-nav-bottom__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.65rem;
  gap: 0.3rem;
  cursor: pointer;
  transition: color var(--transition);
  width: 100%;
  height: 100%;
  letter-spacing: 0.03em;
}

.mobile-nav-bottom__link svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-bottom__link:hover {
  color: var(--gold);
}

.mobile-nav-bottom__link--more {
  color: var(--gold);
}

/* ============================================================
   Bloco: section
   ============================================================ */
.section {
  padding: 5rem 0;
}

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

.section--wine {
  background: linear-gradient(160deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: var(--white);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
  margin-bottom: 1.7rem;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 0.6rem;
}

.section--wine .section__eyebrow,
.section__header--light .section__eyebrow {
  color: var(--gold);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}

.section--wine .section__title,
.section__header--light .section__title {
  color: var(--white);
}

.section__lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ============================================================
   Блок: humanizada (Advocacia Humanizada)
   ============================================================ */
.humanizada__content {
  max-width: 100%;
  display: grid;
  gap: 2.2rem;
}

.humanizada__intro {
  column-gap: 2.2rem;
}

.humanizada__intro > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.5rem;
  break-inside: avoid;
}

.humanizada__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  margin-top: 2.5rem;
}

.humanizada__details-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.humanizada__details-right {
  display: flex;
  flex-direction: column;
}

.humanizada__slider {
  margin: 4rem 0;
  order: 3;
}

.humanizada__intro {
  order: 1;
}

.humanizada__footer {
  order: 2;
}
.humanizada__footer i {
  font-weight: 700;
}

.humanizada__details {
  order: 4;
}

.humanizada__slider .slider__image {
  height: 290px;
}

.slider__image--humanizada-1 {
  background-image: url("images/AdvocaciaHumanizada/AdvHum02.png");
  background-position: center;
}

.slider__image--humanizada-2 {
  background-image: url("images/AdvocaciaHumanizada/AdvHum03.png");
  background-position: center;
}

.slider__image--humanizada-3 {
  background-image: url("images/AdvocaciaHumanizada/AdvHum04.png");
  background-position: center;
}

.humanizada__footer p {
  padding: 0.5rem 0;
}

@media (min-width: 1001px) {
  .humanizada__content {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    column-gap: 3rem;
    align-items: start;
  }

  .humanizada__slider {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    order: unset;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .humanizada__intro {
    grid-column: 2;
    grid-row: 1;
    order: unset;
  }

  .humanizada__footer {
    grid-column: 1 / -1;
    grid-row: 2;
    order: unset;
  }

  .humanizada__details {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-top: 0.8rem;
    order: unset;
  }

  .humanizada__slider .slider__viewport {
    flex: 1;
  }

  .humanizada__slider .slider__track,
  .humanizada__slider .slider__slide {
    height: 100%;
  }

  .humanizada__slider .slider__image {
    height: 100%;
  }
}

.humanizada__subsection {
  margin-top: 0;
}

.humanizada__subtitle {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.humanizada__values {
  list-style: none;
  padding: 0;
  margin: 0;
}

.humanizada__values li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.humanizada__values li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wine);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 1000px) {
  .humanizada__subtitle {
    font-size: 1.15rem;
  }

  .nav__link {
    color: var(--vine);
  }

  .header__inner {
    padding: 0.5rem 1.5rem;
  }
  .header__brand-logo {
    height: 55px;
  }
}

/* ============================================================
   Блок: services
   ============================================================ */
.services-tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.services-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.services-tab {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--ink-soft);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  -webkit-text-fill-color: currentColor;
  text-rendering: optimizeLegibility;
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.services-tab:hover {
  transform: translateY(-1px);
  border-color: var(--wine);
  color: var(--wine);
}

.services-tab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.services-tab--active {
  background-color: var(--wine);
  border-color: var(--wine);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  min-width: max-content;
  box-shadow: 0 8px 18px rgba(110, 20, 35, 0.14);
}

.services-panel {
  padding: 2rem;
}

.services-panel[hidden] {
  display: none;
}

.services-points {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
}

.services-points__item {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.services-points__item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wine);
  font-weight: 700;
}

.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.services__item {
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--transition);
}

.services__item:hover {
  background-color: var(--paper);
}

.services__item:nth-child(3n) {
  border-right: none;
}

.services__icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: var(--wine);
  margin-bottom: 1.2rem;
}

.services__icon svg {
  width: 100%;
  height: 100%;
}

.services__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.services__desc {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ============================================================
   Bloco: office
   ============================================================ */
.office {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ---------- Bloco: slider ---------- */
.slider {
  position: relative;
}

.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.slider__track {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: transform 0.5s ease;
}

.slider__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.slider__image {
  width: 100%;
  height: 550px;
  background-size: cover;
  background-position: center;
}

.slider__image--1 {
  background-image: url("images/escritorio/esc.png");
}

.slider__image--2 {
  background-image: url("images/escritorio/esc1.png");
}

.slider__image--3 {
  background-image: url("images/escritorio/esc2.png");
}

.slider__image--4 {
  background-image: url("images/escritorio/esc3.png");
}
.slider__image--5 {
  background-image: url("images/escritorio/esc4.png");
}
.slider__image--6 {
  background-image: url("images/predio/entrada.png");
}
.slider__image--7 {
  background-image: url("images/predio/predio1.png");
}
.slider__image--8 {
  background-image: url("images/predio/predio2.png");
}
.slider__image--9 {
  background-image: url("images/predio/predio3.png");
}
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: rgba(251, 249, 245, 0.92);
  color: var(--wine);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.slider__arrow svg {
  width: 22px;
  height: 22px;
}

.slider__arrow:hover {
  background-color: var(--white);
}

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

.slider__arrow--prev {
  left: 1rem;
}

.slider__arrow--next {
  right: 1rem;
}

.slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(251, 249, 245, 0.6);
  cursor: pointer;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.slider__dot:hover {
  background-color: rgba(251, 249, 245, 0.9);
}

.slider__dot--active {
  background-color: var(--white);
  transform: scale(1.25);
}

.slider__dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.office__text {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.office__perks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.office__perk {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 500;
}

.office__perk::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wine);
  font-weight: 700;
}

/* ============================================================
   Bloco: lawyer
   ============================================================ */
.lawyer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.lawyer__role {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0.5rem 0 1.2rem;
}

.lawyer__text {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.lawyer__figure {
  display: flex;
  justify-content: center;
}

.lawyer__footer {
  grid-column: 1 / -1;
}

.lawyer__photo {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-image: url("images/hist.jpeg");
  background-size: cover;
  background-position: top center;
}

/* ============================================================
   Bloco: testimonials
   ============================================================ */
.testimonials {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.testimonials__item {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
}

.testimonials__mark {
  font-family: var(--font-head);
  font-size: 3.5rem;
  line-height: 0.5;
  color: var(--gold);
  display: block;
  height: 1.2rem;
}

.testimonials__quote {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1.2rem;
}

.testimonials__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.testimonials__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.testimonials__author {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.92rem;
}

/* ============================================================
   Bloco: contact
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__intro {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.contact__list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--wine);
  margin-top: 0.1rem;
}

.contact__icon svg {
  width: 100%;
  height: 100%;
}

.contact__detail {
  display: flex;
  flex-direction: column;
}

.contact__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact__value {
  color: var(--ink);
  font-size: 0.96rem;
}

.contact__value--link {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}

.contact__value--link:hover {
  color: var(--wine);
}

.contact__howto-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.contact__howto-text {
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.contact__howto-text:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Bloco: contact-form
   ============================================================ */
.contact-form {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.contact-form__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.contact-form__field {
  margin-bottom: 1.1rem;
}

.contact-form__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.contact-form__input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  background-color: var(--paper);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px var(--wine-soft);
  background-color: var(--white);
}

.contact-form__input--area {
  resize: vertical;
  min-height: 110px;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  height: 3.2rem;
}

.contact-form__feedback {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  min-height: 1.1rem;
  text-align: center;
  color: var(--wine);
  font-weight: 600;
}

.contact-form__note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 1000px) {
  .contact-form {
    order: -1;
  }
}

/* ============================================================
   Bloco: map
   ============================================================ */
.map {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}

.map__frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ============================================================
   Bloco: footer
   ============================================================ */
.footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  display: block;
}

.footer__role {
  font-size: 0.85rem;
  color: var(--gold);
}

.footer__copy {
  font-size: 0.85rem;
}

/* ============================================================
   Bloco: whatsapp-float
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #1f8a4c;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(31, 138, 76, 0.4);
  transition: transform var(--transition);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ============================================================
   Estados (modifiers via JS) + animações
   ============================================================ */
.header__toggle--active .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle--active .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header__toggle--active .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsividade
   ============================================================ */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0 !important;
  }

  .section__eyebrow,
  .section__title,
  .lawyer__role,
  .contact__intro {
    text-align: center;
  }

  .hero__text {
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
    text-align: left;
    min-height: 0 !important;
  }

  .hero__text-inner {
    margin-left: 0;
    max-width: 36rem;
  }

  .hero__media {
    display: none;
  }

  .hero__image {
    inset: 0 0 1.5rem;
  }

  .hero__quote {
    right: 1.5rem;
    bottom: 3rem;
  }

  .services-tablist {
    flex-wrap: wrap;
  }

  .services-tab {
    white-space: normal;
  }

  .services-panel {
    padding: 1.5rem;
  }

  .services-points {
    grid-template-columns: 1fr;
  }

  .office,
  .lawyer,
  .contact {
    grid-template-columns: 1fr;
  }

  .office__content {
    order: -1;
  }

  .lawyer__figure {
    order: 1;
  }

  .testimonials {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin: 0 -1.5rem;
    padding: 0 1.5rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .testimonials::-webkit-scrollbar {
    display: none;
  }

  .testimonials__item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

@media (max-width: 1000px) {
  .header__toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav--open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .nav__link--cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1000px) {
  .section-nav {
    display: block;
    padding: 0 0 2rem 0;
  }

  .section-nav__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .nav-card__icon {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .section-nav {
    display: block;
    padding: 0 0 0.8rem 0;
  }

  .section-nav__inner {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .nav-card {
    grid-template-columns: 47% 53%;
    min-height: 150px;
    position: relative;

    background-color: var(--ink-cream);
  }

  .nav-card__content {
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    padding: 0.85rem 0.8rem;
    background-color: var(--ink-cream);
    min-width: 0;
  }

  .nav-card__title {
    font-size: 1.1rem;
    font-size: clamp(1.05rem, 4.5vw, 1.3rem);
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .nav-card__icon {
    display: none;
  }

  .nav-card__desc {
    font-size: 0.74rem;
    font-size: clamp(0.7rem, 2.8vw, 0.82rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nav-card__btn {
    width: 38px;
    height: 38px;
    bottom: 0.65rem;
    right: 0.55rem;
  }

  .nav-card:hover {
    transform: none;
  }

  .mobile-nav-bottom {
    display: none;
  }

  .section {
    padding: 3.4rem 0;
  }

  .humanizada__intro > p {
    font-size: 0.95rem;
  }

  .humanizada__subtitle {
    font-size: 1.15rem;
  }

  .humanizada__values li {
    font-size: 0.95rem;
  }

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

  .hero__text {
    padding: 2.5rem 1.5rem;
    align-items: flex-start;
  }

  .hero__title {
    font-size: clamp(1.3rem, 6.4vw, 1.75rem);
    line-height: 1.12;
  }

  .hero__title::after {
    width: 3.5rem;
    margin-top: 0.65rem;
  }

  .hero__eyebrow {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .hero__lead {
    font-size: 0.8rem;
    line-height: 1.35;
    margin: 1rem 0 1.4rem;
  }

  .hero__media {
    display: none;
  }

  .services-tablist {
    padding: 0.8rem;
    gap: 0.4rem;
  }

  .services-tab {
    font-size: 0.84rem;
    padding: 0.5rem 0.8rem;
    flex: 0 1 auto;
    text-align: center;
    min-width: max-content;
  }

  .services-panel {
    padding: 1.2rem;
  }

  .office__perks {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
