:root {
  --black: #070707;
  --graphite: #151515;
  --dark-blue: #0d1b2a;
  --gold: #c8a24a;
  --gold-soft: #ead8a5;
  --ivory: #f8f5ef;
  --white: #ffffff;
  --muted: #6f6f6f;
  --line: rgba(200, 162, 74, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--graphite);
  background: var(--ivory);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 86px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 600;
  color: var(--dark-blue);
}

.nav a {
  position: relative;
  font-size: 15px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.menu-button {
  display: none;
  border: none;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 190px 5% 110px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: grayscale(18%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.58) 42%, rgba(0,0,0,0.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.22), rgba(0,0,0,0.22));
}

.hero-content {
  position: relative;
  max-width: 790px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1,
.section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  max-width: 930px;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 640px;
  font-size: 20px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #f1d98a);
  color: var(--black);
  box-shadow: 0 18px 45px rgba(200,162,74,0.26);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.hero-proof {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-proof span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.section {
  padding: 105px 5%;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 70px;
  align-items: center;
}

.section h2 {
  font-size: clamp(42px, 5vw, 70px);
  color: var(--dark-blue);
  margin-bottom: 22px;
}

.about-text p {
  color: #454545;
  margin-bottom: 17px;
  max-width: 690px;
}

.signature-card {
  margin: 30px 0;
  padding: 26px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
}

.signature-card strong,
.signature-card span {
  display: block;
}

.signature-card span {
  color: var(--muted);
  margin-top: 6px;
}

.about-photo {
  position: relative;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.services {
  background: var(--white);
}

.section-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 58px;
}

.section-center p:not(.section-kicker) {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--ivory);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 38px 32px;
  min-height: 500px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.07);
}

.service-card.featured {
  background: var(--dark-blue);
  color: var(--white);
  transform: translateY(-18px);
}

.card-number {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  margin: 20px 0;
}

.service-card ul {
  padding-left: 18px;
}

.service-card li {
  margin-bottom: 12px;
}

.articles {
  position: relative;
  background:
    linear-gradient(rgba(13,27,42,0.78), rgba(13,27,42,0.78)),
    url("assets/fundo-artigos.jpg");
  background-size: cover;
  background-position: center;
}

.light h2,
.light p {
  color: var(--white) !important;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.article-card div {
  padding: 28px;
}

.article-card span {
  color: var(--gold);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.article-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
  margin: 12px 0;
  color: var(--dark-blue);
}

.article-card p {
  color: var(--muted);
}

.testimonials {
  background: var(--ivory);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.testimonial-card::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 86px;
  line-height: 0;
  color: rgba(200,162,74,0.55);
}

.testimonial-card p {
  margin: 20px 0;
  color: #4b4b4b;
  font-style: italic;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
  margin-top: 4px;
}

.clients-title {
  margin: 70px 0 28px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  color: var(--dark-blue);
}

.logo-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
}

.logo-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.logo-track img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.12);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.quote-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 52px 5%;
}

.quote-section p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  margin-bottom: 10px;
}

.quote-section strong {
  color: var(--gold-soft);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 60px;
  align-items: stretch;
}

.contact-form,
.contact-card {
  padding: 44px;
  background: var(--ivory);
  box-shadow: 0 18px 48px rgba(0,0,0,0.07);
}

form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.14);
  background: var(--white);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
}

.contact-card {
  background: var(--dark-blue);
  color: var(--white);
}

.contact-card img {
  width: 190px;
  margin-bottom: 24px;
}

.contact-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  margin-bottom: 20px;
}

.contact-card p {
  margin-bottom: 14px;
  color: rgba(255,255,255,0.86);
}

.contact-card .btn {
  margin-top: 16px;
  background: var(--gold);
  color: var(--black);
}

.footer {
  padding: 28px 5%;
  background: var(--black);
  color: rgba(255,255,255,0.78);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  background: #18c45c;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0,0,0,0.26);
  z-index: 999;
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    top: 86px;
    right: -100%;
    width: 78%;
    height: calc(100vh - 86px);
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
    transition: 0.3s;
    box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  }

  .nav.active {
    right: 0;
  }

  .two-columns,
  .service-grid,
  .article-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    transform: none;
  }

  .about-photo img {
    height: 520px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 76px;
  }

  .brand img {
    width: 118px;
  }

  .nav {
    top: 76px;
    height: calc(100vh - 76px);
  }

  .hero {
    padding-top: 150px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 78px 5%;
  }

  .about-photo img {
    height: 420px;
  }

  .contact-form,
  .contact-card {
    padding: 30px 22px;
  }
}


.article-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(200, 162, 74, 0.45);
  padding-bottom: 4px;
}

.article-link:hover {
  color: var(--dark-blue);
}

.articles-hero {
  position: relative;
  min-height: 520px;
  padding: 170px 5% 90px;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.articles-hero-bg,
.articles-hero-overlay {
  position: absolute;
  inset: 0;
}

.articles-hero-bg {
  background-size: cover;
  background-position: center;
  filter: grayscale(18%);
  transform: scale(1.03);
}

.articles-hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(13,27,42,0.72) 48%, rgba(0,0,0,0.34) 100%);
}

.articles-hero-content {
  position: relative;
  color: var(--white);
}

.articles-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.96;
  max-width: 780px;
  margin-bottom: 22px;
}

.articles-hero p:not(.eyebrow) {
  max-width: 660px;
  font-size: 20px;
  color: rgba(255,255,255,0.86);
}

.articles-page {
  background:
    radial-gradient(circle at top left, rgba(200,162,74,0.13), transparent 36%),
    var(--ivory);
}

.article-list {
  display: grid;
  gap: 54px;
}

.full-article {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.full-article-cover img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.full-article-body {
  padding: clamp(34px, 5vw, 68px);
}

.article-category {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

.full-article-body h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--dark-blue);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.02;
  margin: 16px 0 24px;
}

.full-article-body p {
  color: #454545;
  margin-bottom: 18px;
  font-size: 17px;
}

.article-callout {
  margin: 28px 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(200,162,74,0.16), rgba(248,245,239,0.95));
  border-left: 4px solid var(--gold);
  color: var(--dark-blue);
}

@media (max-width: 980px) {
  .full-article {
    grid-template-columns: 1fr;
  }

  .full-article-cover img {
    min-height: 330px;
  }

  .articles-hero {
    min-height: 460px;
    padding-top: 140px;
  }
}



/* =========================================================
   PÁGINA DE ARTIGOS — VERSÃO CORRIGIDA PREMIUM
   ========================================================= */

.article-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(200, 162, 74, 0.45);
  padding-bottom: 4px;
}

.article-link:hover {
  color: var(--dark-blue);
}

.artigos-body {
  background: #f8f5ef;
}

.blog-hero {
  position: relative;
  min-height: 560px;
  padding: 170px 5% 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070707;
}

.blog-hero-bg,
.blog-hero-overlay {
  position: absolute;
  inset: 0;
}

.blog-hero-bg {
  background-size: cover;
  background-position: center;
  filter: grayscale(12%);
  transform: scale(1.04);
}

.blog-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(13,27,42,0.76) 48%, rgba(0,0,0,0.42) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25));
}

.blog-hero-content {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #ffffff;
}

.blog-hero-content h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  max-width: 780px;
  margin-bottom: 24px;
}

.blog-hero-content p:not(.eyebrow) {
  max-width: 660px;
  font-size: 20px;
  color: rgba(255,255,255,0.86);
}

.blog-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.blog-intro {
  padding: 70px 5% 35px;
  background:
    radial-gradient(circle at top left, rgba(200,162,74,0.14), transparent 36%),
    #f8f5ef;
}

.blog-intro-text {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
  font-size: 19px;
  color: #474747;
}

.blog-cards-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-cards-nav a {
  display: block;
  background: #ffffff;
  color: #0d1b2a;
  box-shadow: 0 24px 70px rgba(0,0,0,0.10);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.blog-cards-nav a:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.16);
}

.blog-cards-nav img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.blog-cards-nav span {
  display: block;
  margin: 24px 26px 8px;
  color: #c8a24a;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
}

.blog-cards-nav strong {
  display: block;
  margin: 0 26px 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  line-height: 1.04;
}

.blog-articles {
  padding: 50px 5% 95px;
  background: #f8f5ef;
}

.blog-article {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  margin-bottom: 64px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  scroll-margin-top: 110px;
}

.blog-article.reverse .blog-article-image {
  order: 2;
}

.blog-article.reverse .blog-article-content {
  order: 1;
}

.blog-article-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.blog-article-content {
  padding: clamp(36px, 5vw, 70px);
}

.blog-category {
  display: inline-block;
  margin-bottom: 14px;
  color: #c8a24a;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

.blog-article-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #0d1b2a;
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 0.98;
  margin-bottom: 26px;
}

.blog-article-content p {
  color: #454545;
  font-size: 17px;
  line-height: 1.76;
  margin-bottom: 18px;
}

.blog-highlight {
  margin: 30px 0;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(200,162,74,0.16), rgba(248,245,239,0.98));
  border-left: 4px solid #c8a24a;
  color: #0d1b2a;
  font-size: 17px;
  line-height: 1.65;
}

.blog-highlight strong {
  display: block;
  margin-bottom: 6px;
}

.blog-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 74px 5%;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88), rgba(13,27,42,0.86)),
    url("assets/fundo-justica.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.blog-final-cta > div {
  width: min(780px, 100%);
}

.blog-final-cta p {
  color: #ead8a5;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.blog-final-cta h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

@media (max-width: 980px) {
  .blog-cards-nav,
  .blog-article {
    grid-template-columns: 1fr;
  }

  .blog-article.reverse .blog-article-image,
  .blog-article.reverse .blog-article-content {
    order: initial;
  }

  .blog-article-image img {
    min-height: 360px;
  }

  .blog-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .blog-hero {
    min-height: 470px;
    padding-top: 135px;
  }

  .blog-hero-content h1 {
    font-size: 44px;
  }

  .blog-hero-content p:not(.eyebrow),
  .blog-intro-text,
  .blog-article-content p {
    font-size: 16px;
  }

  .blog-cards-nav img {
    height: 200px;
  }

  .blog-cards-nav strong {
    font-size: 28px;
  }

  .blog-article-content {
    padding: 34px 24px;
  }

  .blog-article-content h2 {
    font-size: 36px;
  }
}
