*,
*::before,
*::after {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.site-header {
  background: #fff;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 25px 0 20px;
  max-width: 1140px;
  margin: 0 auto;
  width: calc(100% - 40px);
}

.logo img {
  display: block;
  width: 82%;
  max-width: 328px;
  height: auto;
}

.header-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-basic);
  font-size: 20px;
  font-weight: 500;
  color: #000;
}

.header-contact a:hover {
  color: var(--blue);
}

.header-contact svg {
  width: 30px;
  height: 30px;
  fill: var(--blue);
  flex: 0 0 30px;
}

.btn-precatorio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: end;
  background: var(--blue);
  color: #fff !important;
  border: 3px solid #000;
  padding: 20px 28px;
  font-family: var(--font-basic);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.btn-precatorio svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-nav {
  background: var(--blue);
}

.nav-desktop {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: block;
  color: #fff;
  font-family: var(--font-basic);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 20px 17px;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 12px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  margin: 0 auto;
  padding: 14px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.mobile-panel {
  display: none;
  background: var(--blue);
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0 0 16px;
}

.mobile-panel a {
  display: block;
  color: #fff;
  font-family: var(--font-basic);
  text-transform: uppercase;
  padding: 12px 24px;
}

.hero-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: #000;
}

.hero-slides {
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active .hero-slide-bg {
  animation: kenburns 18s linear infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.18);
  }
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.79);
}

.hero-slide-inner p,
.hero-slide-inner strong {
  display: block;
  font-family: var(--font-arimo);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.hero-slide-inner strong {
  line-height: 1.05;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.hero-arrow svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero-prev {
  left: 12px;
}

.hero-next {
  right: 12px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.section-artigos {
  padding: 50px 0;
}

.section-title {
  font-family: var(--font-basic);
  font-size: 45px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  margin: 0 0 20px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 30px;
}

.post-card h3 {
  font-family: var(--font-basic);
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px;
  text-align: center;
  line-height: 1.3;
}

.post-card time {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.post-card p {
  margin: 0;
  color: #000;
  font-size: 16px;
  text-align: center;
}

.btn-center {
  text-align: center;
  margin-top: 20px;
}

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  border: 3px solid #000;
  padding: 20px 40px;
  font-family: var(--font-basic);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.areas-band {
  background: url("/assets/img/fundo.webp") center / cover no-repeat;
  padding: 30px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.areas-grid h3 {
  font-family: var(--font-basic);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  margin: 10px 0;
}

.areas-grid p {
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  line-height: 1.6;
}

.flip-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(94.826%, 1280px);
  margin: 50px auto;
}

.flip-item h3 {
  font-family: var(--font-basic);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  margin: 0 0 16px;
}

.flip-box {
  height: 250px;
  perspective: 1000px;
  border: 8px solid #fff;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.flip-box:hover .flip-inner,
.flip-box:focus-within .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center;
}

.flip-back {
  transform: rotateY(180deg);
  display: grid;
  place-items: center;
}

.flip-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000080;
}

.flip-back a {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-basic);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  background: var(--blue);
  color: #fff;
  padding: 40px 10px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.13fr 1.5fr 1.5fr;
  gap: 20px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  width: calc(100% - 20px);
}

.site-footer h4 {
  font-family: var(--font-basic);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li,
.footer-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  margin: 0 0 6px;
}

.footer-list svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  flex: 0 0 14px;
  margin-top: 3px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 85%;
  max-width: 280px;
}

.footer-copy {
  background: #000;
  color: #fff;
  text-align: center;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  padding: 10px 0;
  margin-top: 24px;
}

.footer-copy a {
  color: #fff;
}

.page-title-bar {
  background: #f5f5f5;
  padding: 30px;
}

.page-title-bar h1,
.page-title-bar h2 {
  font-family: var(--font-basic);
  font-size: 24px;
  font-weight: 400;
  color: #333;
  margin: 0 auto;
  max-width: 1140px;
}

.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: start;
  padding: 40px 0 20px;
}

.split-page img {
  display: block;
  width: 100%;
}

.split-copy {
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  color: #000;
}

.split-copy ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 20px 0 50px;
}

.icon-box {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 28px 12px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-basic);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0 50px;
}

.area-card {
  border: 2px solid var(--blue);
  padding: 24px 18px 28px;
  text-align: center;
}

.area-card h2 {
  font-family: var(--font-basic);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 16px;
}

.area-card p,
.area-card ul {
  font-size: 14px;
  text-align: left;
  margin: 0 auto;
  max-width: 280px;
}

.escritorio-hero {
  min-height: 220px;
  background: url("/assets/img/justica.webp") center / cover no-repeat;
  display: grid;
  place-items: center;
}

.escritorio-hero h1 {
  font-family: var(--font-basic);
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
  letter-spacing: 0.04em;
}

.escritorio-text {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 20px;
  font-size: 15px;
  color: #000;
}

.escritorio-text p {
  margin: 0 0 16px;
}

.bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.bio h3 {
  font-family: var(--font-basic);
  font-size: 22px;
  color: var(--blue);
  margin: 0 0 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 40px 0 50px;
}

.el-form label {
  display: block;
  font-size: 14px;
  margin: 0 0 6px;
}

.el-form input,
.el-form textarea,
.el-form select {
  width: 100%;
  border: 1px solid #c9c9c9;
  padding: 10px 12px;
  margin-bottom: 16px;
  font: 15px Tahoma, sans-serif;
  background: #fff;
}

.el-form textarea {
  min-height: 180px;
  resize: vertical;
}

.el-form button {
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 12px 36px;
  font-family: var(--font-basic);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.map-block {
  margin-bottom: 18px;
}

.map-block h3 {
  font-size: 15px;
  margin: 0 0 8px;
  border-left: 4px solid var(--blue);
  padding-left: 8px;
}

.map-block iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.archive-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}

.archive-item {
  margin: 0 0 36px;
}

.archive-item h2 {
  font-family: var(--font-basic);
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px;
}

.archive-item .meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 8px;
}

.archive-item .more {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
}

.post-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 50px 20px;
}

.post-wrap h1 {
  font-family: var(--font-basic);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  margin: 0 0 10px;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 15px 0;
  margin-bottom: 20px;
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  color: #4a4a4a;
  font-size: 14px;
}

.post-body {
  font-size: 16px;
  color: #000;
}

.post-body p,
.post-body li {
  margin: 0 0 16px;
}

.legal-doc {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.legal-doc h1 {
  font-family: var(--font-basic);
  font-size: 28px;
  color: var(--blue);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.lp-hero {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}

.lp-hero-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  animation: kenburns 18s linear infinite alternate;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
}

.lp-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

.lp-hero h1 {
  font-family: var(--font-basic);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}

.lp-hero p {
  margin: 0 0 20px;
  white-space: pre-line;
}

.lp-hero .ghost,
.lp-purple .ghost {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 22px;
  font-size: 15px;
}

.lp-hero.lp-hero-purple::before {
  background: rgba(61, 20, 80, 0.82);
}

.lp-flip {
  perspective: 1000px;
  max-width: 100%;
  min-height: 200px;
  margin: 0 auto;
}

.lp-flip-inner {
  position: relative;
  min-height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.lp-flip:hover .lp-flip-inner,
.lp-flip:focus-within .lp-flip-inner {
  transform: rotateX(180deg);
}

.lp-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 36px 28px;
  background: #26c9a8;
  color: #fff;
  border-radius: 20px;
}

.lp-flip-back {
  transform: rotateX(180deg);
  background: #1aa888;
}

.lp-flip-face h3 {
  font-family: var(--font-basic);
  font-size: 24px;
  margin: 0 0 12px;
}

.lp-gray {
  background: #54595f;
  color: #fff;
}

.lp-gray h2,
.lp-section.lp-gray h2,
.lp-gray .lp-sub,
.lp-gray a {
  color: #fff;
}

.lp-blue {
  background: var(--blue);
  color: #fff;
}

.lp-blue h2,
.lp-section.lp-blue h2,
.lp-blue .lp-sub,
.lp-blue a,
.lp-blue .el-form label {
  color: #fff;
}

.lp-sub {
  font-family: var(--font-basic);
  font-size: 22px;
  color: var(--blue);
  margin: 24px 0 12px;
}

.lp-section {
  padding: 40px 0;
}

.lp-section h2 {
  font-family: var(--font-basic);
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin: 0 0 28px;
}

.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.lp-split img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.lp-table th,
.lp-table td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: left;
}

.form-feedback {
  margin-top: 10px;
  font-size: 14px;
}

.lp-faq details {
  border: 1px solid #e8e8e8;
  margin: 0 0 8px;
  background: #f7f7f7;
  border-radius: 4px;
}

.lp-faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  list-style: none;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: #888;
}

.lp-faq details[open] summary::after {
  content: "–";
}

.lp-faq details p {
  padding: 0 16px 14px;
}

.lp-copy {
  background: #54595f;
  color: #f3f3f3;
  text-align: center;
  padding: 16px 12px;
  font-size: 14px;
}

.lp-copy a {
  color: #f3f3f3;
}

.lp-purple {
  background: #4b1d5c;
  color: #fff;
}

.lp-purple h2,
.lp-section.lp-purple h2,
.lp-purple .lp-sub,
.lp-purple a {
  color: #fff;
}

.lp-purple .el-form label {
  color: #fff;
}

.wa-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #61ce70;
  border-radius: 7px;
  padding: 12px 22px;
  font-weight: 700;
  color: #61ce70;
  margin-top: 12px;
}

.img-round {
  border-radius: 30px;
}

@media (max-width: 1024px) {
  .posts-grid,
  .areas-grid,
  .flip-section,
  .icon-row,
  .area-cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid,
  .header-top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .btn-precatorio {
    justify-self: center;
  }

  .header-contact a {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .hero-slider {
    height: 306px;
  }

  .hero-slide-inner p,
  .hero-slide-inner strong {
    font-size: 30px;
  }

  .section-title {
    font-size: 30px;
  }

  .posts-grid,
  .areas-grid,
  .flip-section,
  .icon-row,
  .area-cards,
  .split-page,
  .bio,
  .contact-grid,
  .lp-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .flip-item h3 {
    font-size: 20px;
  }

  .header-top {
    padding-top: 16px;
  }

  .logo img {
    width: 70%;
    margin: 0 auto;
  }

  .post-wrap h1 {
    font-size: 19px;
  }
}
