@font-face {
  font-family: "Alilato";
  src: url("./Alilato-ExtraLight.ttf") format("truetype");
  font-display: swap;
}

:root {
  --gold: #9f7222;
  --cream: #efeee8;
  --ink: #180000;
  --muted: #a8a8a8;
  --sand: #c09078;
  --white: #fffdfa;
  --line: rgba(24, 0, 0, 0.1);
  --glass: rgba(255, 253, 250, 0.16);
  --shadow: 0 30px 70px rgba(24, 0, 0, 0.15);
  --section-space: clamp(5rem, 9vw, 8rem);
  --container: min(1160px, calc(100vw - 2.4rem));
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --topbar-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a,
input,
textarea,
select {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(192, 144, 120, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(159, 114, 34, 0.16), transparent 24%),
    linear-gradient(180deg, #f5f2ec 0%, var(--cream) 40%, #f7f5ef 100%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.stack {
  display: grid;
  gap: clamp(2rem, 4vw, 3.4rem);
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section--light {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.92), rgba(255, 253, 250, 0.75)),
    var(--cream);
}

.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(239, 238, 232, 0.1), transparent 26%),
    linear-gradient(180deg, #b4832d 0%, #9f7222 52%, #8d641d 100%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: rgba(255, 253, 250, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(164, 69, 53, 0.08);
  transition:
    background-color 0.45s ease,
    backdrop-filter 0.45s ease,
    border-color 0.45s ease,
    transform 0.45s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(164, 69, 53, 0.12);
}

.topbar__inner {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.topnav a {
  color: #4a2518;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

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

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

.brand img {
  width: clamp(152px, 15vw, 220px);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.6rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  min-height: 64px;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 0, 0, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, var(--gold), #b98533);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 20px 44px rgba(159, 114, 34, 0.34);
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease,
    color 0.35s ease;
}

.cta::before {
  content: "";
  position: absolute;
  left: var(--cta-x, 50%);
  top: var(--cta-y, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(246, 214, 153, 0.65) 0%, rgba(191, 137, 43, 0.96) 48%, rgba(123, 81, 14, 0.98) 100%);
  transform: translate(-50%, -50%);
  transition:
    width 0.58s cubic-bezier(0.2, 1, 0.2, 1),
    height 0.58s cubic-bezier(0.2, 1, 0.2, 1),
    opacity 0.35s ease;
  opacity: 0.94;
  z-index: 0;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.24) 50%, transparent 82%);
  transform: translateX(-135%);
  transition: transform 0.7s ease;
  z-index: 0;
}

.cta__label,
.cta__particle-field {
  position: relative;
  z-index: 2;
}

.cta__particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 58px rgba(159, 114, 34, 0.48);
  filter: saturate(1.1);
  color: var(--white);
}

.cta:hover::before {
  width: 280%;
  height: 280%;
}

.cta:hover::after {
  transform: translateX(135%);
}

.cta--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.cta--light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 238, 232, 0.9));
  color: var(--ink);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.cta--light::before {
  background:
    radial-gradient(circle, rgba(239, 216, 170, 0.72) 0%, rgba(196, 145, 49, 0.98) 44%, rgba(120, 78, 13, 1) 100%);
}

.cta-particle {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cta-particle--ember {
  background: radial-gradient(circle, rgba(255, 245, 218, 0.95), rgba(216, 168, 79, 0.9) 55%, rgba(159, 114, 34, 0.15) 100%);
  box-shadow: 0 0 14px rgba(205, 155, 60, 0.6);
  animation: ctaEmberIn var(--life, 0.7s) ease-out forwards;
}

.cta-particle--spark {
  background: rgba(255, 252, 244, 0.92);
  box-shadow: 0 0 10px rgba(255, 243, 214, 0.72);
  animation: ctaSparkOut var(--life, 1.25s) ease-out forwards;
}

@keyframes ctaEmberIn {
  0% {
    transform: translate(calc(-50% + var(--start-x)), calc(-50% + var(--start-y))) scale(0.3);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}

@keyframes ctaSparkOut {
  0% {
    transform: translate(-50%, -50%) scale(0.45);
    opacity: 0;
  }

  20% {
    opacity: 0.92;
  }

  100% {
    transform: translate(calc(-50% + var(--move-x)), calc(-50% + var(--move-y))) scale(0);
    opacity: 0;
  }
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: stretch;
  overflow: clip;
  color: var(--white);
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(24, 0, 0, 0.38) 0%, rgba(24, 0, 0, 0.18) 34%, rgba(24, 0, 0, 0.04) 68%, rgba(24, 0, 0, 0.02) 100%),
    url("./imagens/hero.png") 58% 12% / cover no-repeat;
  transform: none;
}

.hero__veil {
  background: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: calc(94svh - var(--topbar-height));
  display: flex;
  align-items: center;
  padding-top: calc(var(--topbar-height) + 1rem);
  padding-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

.hero__copy {
  width: 688px;
  max-width: 100%;
  display: grid;
  gap: 1.15rem;
  color: #4a2518;
  padding-left: 0.55rem;
}

.eyebrow {
  margin: 0;
  font-family: "Alilato", "Segoe UI", sans-serif;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  opacity: 0.85;
}

.eyebrow span {
  opacity: 0.55;
}

.hero__meta {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  width: fit-content;
  padding: 0.7rem 1.1rem;
  border-radius: 16px;
  background: rgba(159, 114, 34, 0.22);
  border: 1px solid rgba(159, 114, 34, 0.32);
  box-shadow: 0 18px 38px rgba(159, 114, 34, 0.16);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 1;
  text-transform: none;
}

.hero__meta span {
  opacity: 0.9;
}

.hero__meta-break {
  display: none;
}

.hero__title-break {
  display: none;
}

.hero__title,
.section-heading h2,
.authority__content h2,
.final-cta h2,
.soft-card h3,
.service-card h3,
.extrajudicial-card h3,
.timeline__step h3 {
  margin: 0;
  font-family: "Alilato", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(2.55rem, 5vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero__title {
  font-size: clamp(2.15rem, 3.15vw, 3.3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 652px;
}

.authority__title--compact {
  font-size: clamp(1.45rem, 2.4vw, 2.3rem) !important;
  white-space: normal;
  max-width: 100%;
  line-height: 1.08 !important;
}

.section-heading p,
.authority__content p,
.extrajudicial-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 43rem;
}

.section-heading__lead {
  font-family: "Alilato", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(2.55rem, 5vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: none;
}

.card-index,
.timeline__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  width: fit-content;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 0.4rem;
}

.hero .cta {
  min-width: 286px;
}

.marquee {
  overflow: hidden;
  margin-top: -1px;
  background: var(--gold);
  color: rgba(255, 253, 250, 0.96);
  border-top: 1px solid rgba(255, 253, 250, 0.18);
  border-bottom: 1px solid rgba(24, 0, 0, 0.08);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  padding: 0.58rem 0;
  animation: marquee 60s linear infinite;
}

.marquee__track span {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track span::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 1rem;
  border-radius: 50%;
  background: rgba(24, 0, 0, 0.42);
  vertical-align: middle;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 1.2rem));
  }
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 60rem;
}

.problem-section {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #e8dcc7 0%, #e0d3bb 52%, #d6c7ac 100%);
  color: var(--ink);
}

.problem-section .section-heading h2,
.problem-section .section-heading p {
  color: var(--ink);
}

.problem-section .full-width-text {
  color: rgba(24, 0, 0, 0.82);
  font-size: 1.06rem;
  line-height: 1.6;
}

.smaller-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  line-height: 1.25 !important;
  max-width: 100%;
}

.single-line-heading {
  font-size: clamp(1.1rem, 4.5vw, 3.2rem) !important;
  white-space: nowrap;
  max-width: 100%;
}

.full-width-text {
  max-width: 100% !important;
}

.section-heading--light p,
.section-heading--light .eyebrow {
  color: rgba(24, 0, 0, 0.74);
}

.section-heading--light p {
  font-size: 1.05rem;
  line-height: 1.68;
}

.problem-grid,
.services-grid,
.trust-grid {
  display: grid;
  gap: 1.15rem;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid .soft-card {
  min-height: 264px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.85rem 1.75rem;
  gap: 0.95rem;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 54px rgba(24, 0, 0, 0.12);
  isolation: isolate;
}

.problem-grid .soft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1);
  opacity: 0.92;
  transform: scale(1.02);
  transition:
    filter 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s ease;
  z-index: -2;
}

.problem-grid .soft-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 0, 0, 0.08) 0%, rgba(24, 0, 0, 0.2) 38%, rgba(24, 0, 0, 0.74) 100%),
    linear-gradient(135deg, rgba(159, 114, 34, 0.2), transparent 60%);
  transform: none;
  transition: background 0.45s ease;
  z-index: -1;
}

.problem-grid .soft-card:nth-child(1)::before {
  background-image: url("./imagens/divorcio-delicado.jpg");
  background-position: center;
}

.problem-grid .soft-card:nth-child(2)::before {
  background-image: url("./imagens/disputa-familiar.jpg");
  background-position: center;
}

.problem-grid .soft-card:nth-child(3)::before {
  background-image: url("https://images.pexels.com/photos/8470836/pexels-photo-8470836.jpeg?cs=srgb&dl=pexels-thirdman-8470836.jpg&fm=jpg");
  background-position: center;
}

.problem-grid .soft-card:nth-child(4)::before {
  background-image:
    url("./imagens/imovel-irregular.png"),
    url("https://images.pexels.com/photos/4839348/pexels-photo-4839348.jpeg?cs=srgb&dl=pexels-curtis-adams-1694007-4839348.jpg&fm=jpg");
  background-position: center;
}

.problem-grid .soft-card:hover::before {
  filter: grayscale(0);
  opacity: 0.78;
  transform: scale(1.05);
}

.problem-grid .soft-card:hover::after {
  background:
    linear-gradient(180deg, rgba(24, 0, 0, 0.04) 0%, rgba(24, 0, 0, 0.16) 38%, rgba(24, 0, 0, 0.58) 100%),
    linear-gradient(135deg, rgba(159, 114, 34, 0.14), transparent 60%);
}

.problem-grid .soft-card h3,
.problem-grid .soft-card .card-index {
  position: relative;
  z-index: 1;
  text-align: left;
  margin: 0;
}

.problem-grid .soft-card h3 {
  color: #fffdfa;
  max-width: 100%;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.problem-grid .soft-card .card-index {
  background: rgba(255, 253, 250, 0.8);
  color: var(--gold);
  border-color: rgba(255, 253, 250, 0.55);
}

.soft-card,
.service-card,
.extrajudicial-card {
  position: relative;
  border-radius: var(--radius-lg);
}

.soft-card,
.service-card {
  overflow: hidden;
}

.soft-card {
  min-height: 212px;
  padding: 1.6rem;
  display: grid;
  align-content: end;
  gap: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 253, 250, 0.82)),
    linear-gradient(135deg, rgba(192, 144, 120, 0.1), transparent 60%);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.problem-section .soft-card {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  box-shadow: 0 28px 56px rgba(24, 0, 0, 0.18);
}

.problem-section .soft-card .card-index {
  background: rgba(255, 253, 250, 0.92);
  color: var(--gold);
  border-color: rgba(255, 253, 250, 0.56);
}

.soft-card::after,
.service-card::after,
.extrajudicial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.32) 50%, transparent 85%);
  transform: translateX(-120%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.soft-card:hover,
.service-card:hover,
.extrajudicial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 64px rgba(24, 0, 0, 0.12);
}

.soft-card:hover::after,
.service-card:hover::after,
.extrajudicial-card:hover::after {
  transform: translateX(120%);
}

.soft-card h3,
.service-card h3,
.extrajudicial-card h3,
.timeline__step h3 {
  font-size: clamp(1.26rem, 2vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.service-card h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.service-card h3::before {
  content: "";
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  border-radius: 14px;
  background-color: rgba(159, 114, 34, 0.12);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.4rem 1.4rem;
  border: 1px solid rgba(159, 114, 34, 0.18);
}

.service-card--familia h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239f7222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 19a4 4 0 0 0-8 0'/%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M7 19a3 3 0 0 0-6 0' transform='translate(3 0)' opacity='.55'/%3E%3Ccircle cx='8' cy='12' r='2.2' opacity='.55'/%3E%3Cpath d='M17 19a3 3 0 0 1 6 0' transform='translate(-3 0)' opacity='.55'/%3E%3Ccircle cx='16' cy='12' r='2.2' opacity='.55'/%3E%3C/svg%3E");
}

.service-card--civil h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239f7222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5h6l4 4V20a1 1 0 0 1-1 1H8a2 2 0 0 1-2-2V5.5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M14 3.5V8h4'/%3E%3Cpath d='M9.5 12.5h5'/%3E%3Cpath d='M9.5 16h5'/%3E%3C/svg%3E");
}

.service-card--imobiliaria h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239f7222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5 12 4l8 6.5'/%3E%3Cpath d='M6.5 9.5V20h11V9.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
}

.card-index {
  width: fit-content;
  background: rgba(159, 114, 34, 0.1);
  border-color: rgba(159, 114, 34, 0.18);
  color: var(--gold);
  backdrop-filter: none;
}

.authority {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.6), rgba(255, 253, 250, 0.95)),
    linear-gradient(180deg, rgba(192, 144, 120, 0.16), transparent 38%);
}

.authority__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.authority__visual {
  position: relative;
}

.authority__photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 610px;
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.92), rgba(244, 239, 232, 0.96));
  box-shadow: 0 36px 82px rgba(24, 0, 0, 0.18);
}

.authority__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 0, 0, 0.04), rgba(24, 0, 0, 0.18)),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.15), transparent 28%);
}

.authority__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.authority__photo--foto2 {
  object-position: center 12%;
  transform: scale(1.18);
  transform-origin: center top;
}

.authority__stamp {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.7rem;
  color: var(--white);
  width: 100%;
}

.authority__stamp span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 12vw, 130px);
  min-height: 44px;
  padding: 0.6rem;
  border-radius: 12px;
  background: rgba(24, 0, 0, 0.56);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(24, 0, 0, 0.22);
  font-size: 0.76rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.authority__content {
  display: grid;
  gap: 0.85rem;
}

.methodology {
  position: relative;
  z-index: 3;
  margin-top: -7.5rem;
  padding-top: calc(var(--section-space) + 4.5rem);
  overflow: hidden;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  box-shadow: 0 -18px 48px rgba(24, 0, 0, 0.08);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #eadfcb 0%, #e0d3bb 52%, #d8c9ae 100%);
}

.methodology__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(24, 0, 0, 0.1)),
    radial-gradient(circle at center, rgba(239, 238, 232, 0.12), transparent 36%);
  opacity: 0.72;
  pointer-events: none;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(24, 0, 0, 0.08), rgba(159, 114, 34, 0.7), rgba(24, 0, 0, 0.08));
}

.timeline__step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.15rem;
  padding: 1.2rem 1.25rem 0;
}

.timeline__dot {
  width: fit-content;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.timeline__step.is-active .timeline__dot {
  background: var(--gold);
  border-color: rgba(255, 255, 255, 0.12);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(239, 238, 232, 0.12), transparent 26%),
    linear-gradient(180deg, #cba187 0%, #c09078 52%, #b58369 100%);
}

.service-card {
  height: 100%;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.service-card ul {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.service-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255, 253, 250, 0.84);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

.extrajudicial-card {
  padding: clamp(1.6rem, 4vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(197, 139, 44, 0.98), rgba(159, 114, 34, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: var(--white);
  box-shadow: var(--shadow);
}

.extrajudicial-card h3 {
  margin: 0.55rem 0 1rem;
  text-transform: uppercase;
}

.trust {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(247, 244, 238, 0.94)),
    linear-gradient(135deg, rgba(159, 114, 34, 0.06), transparent 52%);
}

.trust__title {
  font-size: clamp(2.15rem, 4vw, 3.7rem) !important;
  max-width: 26ch;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card {
  position: relative;
  border-radius: 999px;
  min-height: 72px;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(159, 114, 34, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 253, 250, 0.8));
  box-shadow: 0 10px 30px rgba(24, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.trust-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  text-align: center;
  color: var(--ink);
  z-index: 1;
  transition: color 0.35s ease;
}

.trust-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), #b98533);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.trust-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(159, 114, 34, 0.2);
}

.trust-card:hover::after {
  opacity: 1;
}

.trust-card:hover h3 {
  color: var(--white);
}

.final-cta {
  position: relative;
  overflow: clip;
  color: var(--white);
  background: linear-gradient(135deg, #2c1c17 0%, #180000 100%);
}

.final-cta__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 0, 0, 0.72), rgba(24, 0, 0, 0.52)),
    url("./imagens/fundo1.png") center center / cover no-repeat;
  opacity: 0.32;
  transform: scale(1.08);
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 1.2rem;
  width: min(520px, 45%);
  margin-left: auto;
  margin-right: calc(clamp(1rem, 4vw, 3.5rem) + 220px);
  padding-right: 0;
}

.final-cta__title {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem) !important;
  line-height: 1.08 !important;
  max-width: 20ch;
}

.gold-pass-text {
  background:
    linear-gradient(
      115deg,
      #b67a1b 0%,
      #f4d79a 18%,
      #fff5d8 32%,
      #c9912f 46%,
      #fff3cf 58%,
      #a96a10 74%,
      #f0cf84 100%
    );
  background-size: 220% 100%;
  background-position: 200% 50%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: goldPass 4.2s linear infinite;
}

@keyframes goldPass {
  from {
    background-position: 200% 50%;
  }

  to {
    background-position: -20% 50%;
  }
}

.footer {
  padding: 0.8rem 0;
  background: linear-gradient(135deg, #b4832d 0%, #9f7222 52%, #8d641d 100%);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.brand--footer img {
  width: clamp(260px, 30vw, 380px);
  filter: brightness(0) invert(1);
}

.brand--footer-mobile {
  display: none;
}

.footer__contacts {
  display: grid;
  gap: 0.3rem;
  color: var(--white);
  text-align: left;
}

.footer__contacts p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer__contacts-title {
  font-weight: 700;
}

.footer__social {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 34px rgba(24, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.footer__social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 42px rgba(24, 0, 0, 0.14);
}

.footer__social svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer__social-dot {
  fill: currentColor;
  stroke: none;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 24px 56px rgba(24, 0, 0, 0.24);
  transform: translateY(0);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.floating-cta img {
  width: 30px;
  height: 30px;
  display: block;
}

.floating-cta--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #ffffff;
}

.floating-cta--whatsapp img {
  filter: brightness(0) invert(1);
}

.floating-cta:hover {
  transform: translateY(-3px);
  background: #2c1c17;
}

.floating-cta--whatsapp:hover {
  background: linear-gradient(135deg, #2ee06f, #169c53);
}

[data-reveal],
[data-split] .word {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.86s cubic-bezier(0.2, 1, 0.2, 1),
    filter 0.86s cubic-bezier(0.2, 1, 0.2, 1),
    transform 0.86s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible,
[data-split].is-visible .word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

[data-split] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18em;
}

.services__title {
  max-width: 100%;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem) !important;
}

[data-split] .word {
  transition-duration: 0.92s;
}

[data-parallax] {
  will-change: transform;
}

@media (max-width: 1080px) {
  .problem-grid,
  .timeline,
  .services-grid,
  .trust-grid,
  .authority__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .authority__content {
    align-content: start;
  }

  .hero__title {
    max-width: 11ch;
  }
}

@media (max-width: 820px) {
  :root {
    --topbar-height: 46px;
    --container: min(calc(100vw - 2.8rem), 680px);
  }

  .topbar__inner {
    min-height: var(--topbar-height);
  }

  .brand img {
    width: 128px;
  }

  .topbar__inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.35rem 0;
  }

  .topnav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .methodology {
    margin-top: -3.5rem;
    padding-top: calc(var(--section-space) + 2rem);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .hero__inner {
    min-height: auto;
    display: block;
    padding-top: calc(var(--topbar-height) + 2.1rem);
    padding-bottom: 1.4rem;
  }

  .hero__media {
    background:
      linear-gradient(90deg, rgba(24, 0, 0, 0.38) 0%, rgba(24, 0, 0, 0.18) 34%, rgba(24, 0, 0, 0.04) 68%, rgba(24, 0, 0, 0.02) 100%),
      url("./imagens/hero.png") 64% 8% / cover no-repeat;
  }

  .hero__title,
  .section-heading h2,
  .authority__content h2,
  .final-cta h2 {
    font-size: clamp(2.3rem, 8vw, 3.4rem);
    line-height: 1;
  }

  .final-cta__title {
    font-size: clamp(1.35rem, 4.6vw, 1.9rem) !important;
    line-height: 1.12 !important;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(1.2rem, 5.2vw, 1.85rem);
    line-height: 0.98;
    max-width: 11.4ch;
  }

  .services__title {
    max-width: 100%;
    font-size: clamp(1.6rem, 5vw, 2.6rem) !important;
  }

  .single-line-heading {
    font-size: clamp(1.9rem, 7vw, 2.5rem) !important;
    line-height: 1.08 !important;
    max-width: 100%;
    white-space: normal;
  }

  .authority__title--compact {
    font-size: clamp(1.45rem, 5vw, 2rem) !important;
  }

  .final-cta__inner {
    width: calc(100% - 1rem);
    margin-left: auto;
    margin-right: auto;
    padding-inline: 0.6rem;
    padding-right: 0.6rem;
    box-sizing: border-box;
  }

  .trust__title {
    max-width: 24ch;
  }

  .hero__copy {
    width: min(64%, 282px);
    gap: 0.68rem;
    padding-left: 0.15rem;
  }

  .hero__meta {
    width: fit-content;
    max-width: 72%;
    padding: 0.5rem 0.8rem;
    border-radius: 14px;
    font-size: 0.48rem;
    line-height: 1.42;
    letter-spacing: 0.06em;
  }

  .hero__meta-break {
    display: block;
    content: "";
  }

  .hero__title-break {
    display: block;
    content: "";
  }

  .hero__actions {
    gap: 0.5rem;
    padding-top: 0.1rem;
  }

  .hero .cta {
    min-height: 42px;
    padding: 0.72rem 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(159, 114, 34, 0.22);
  }

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

  .brand--footer {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .brand--footer-desktop {
    display: none;
  }

  .brand--footer-mobile {
    display: block;
  }

  .problem-grid,
  .timeline,
  .services-grid,
  .trust-grid,
  .authority__grid {
    grid-template-columns: 1fr;
  }

  .authority__content {
    margin-top: 1rem;
  }

  .timeline::before {
    left: 1rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .timeline__step {
    padding: 0 0 0 3.2rem;
  }

  .authority__photo-frame {
    height: 460px;
  }

  .authority__photo--foto2 {
    transform: scale(1.1);
  }

  .floating-cta {
    left: auto;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100vw - 3.3rem);
  }

  .final-cta__inner {
    width: calc(100% - 1.1rem);
    padding-inline: 0.75rem;
  }

  .card-index,
  .timeline__dot {
    width: 100%;
    justify-content: flex-start;
  }

  .soft-card,
  .service-card,
  .extrajudicial-card {
    border-radius: 22px;
  }

  .authority__photo-frame {
    height: 380px;
  }

  .authority__content {
    margin-top: 1.25rem;
  }

  .authority__photo--foto2 {
    transform: scale(1.04);
  }

  .authority__stamp {
    gap: 0.45rem;
    justify-content: center;
    width: 100%;
    left: 0;
    right: 0;
    transform: none;
    bottom: 0.75rem;
  }

  .authority__stamp span {
    width: auto;
    padding: 0.5rem 0.8rem;
    min-height: 38px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .cta,
  .floating-cta {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal],
  [data-split] .word {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  [data-parallax] {
    transform: none !important;
  }
}
