:root {
  --ink: #172029;
  --muted: #5c6872;
  --line: #dce1e4;
  --paper: #f7f5ef;
  --white: #ffffff;
  --gold: #aa7a18;
  --gold-dark: #7f5910;
  --teal: #146b6c;
  --green: #4f7d57;
  --shadow: 0 22px 70px rgba(23, 32, 41, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(220, 225, 228, 0.9);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 260px;
}

.brand-symbol {
  width: 54px;
  height: 66px;
  object-fit: contain;
}

.brand-text {
  display: inline-grid;
  gap: 1px;
  width: max-content;
}

.brand-text strong {
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 1px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 12px 12px;
  color: #38434c;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-dark);
  font-weight: 500;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.client-access,
.primary-action,
.secondary-action,
.service-panel a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.client-access {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 8px 18px;
  color: var(--white);
  background: var(--teal);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(20, 107, 108, 0.18);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.client-access::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 1em;
  height: 1em;
  margin-right: 8px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.client-access-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  text-align: left;
}

.client-access-text strong,
.client-access-text small {
  display: block;
  line-height: 1.1;
}

.client-access-text strong {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
}

.client-access-text small {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.9;
}

.client-access::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
}

.client-access:hover {
  background: #0f595a;
  box-shadow: 0 14px 30px rgba(20, 107, 108, 0.28);
}

.client-access:hover::after {
  left: 115%;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 31, 0.86) 0%, rgba(16, 24, 31, 0.72) 42%, rgba(16, 24, 31, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 24, 31, 0.72) 0%, rgba(16, 24, 31, 0) 44%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 86px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.45rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action {
  padding: 0 22px;
  color: var(--ink);
  background: var(--white);
}

.secondary-action {
  padding: 0 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.intro-band {
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 1.1rem;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.first-section {
  padding-top: 72px;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 32, 41, 0.94), rgba(20, 107, 108, 0.88)),
    var(--ink);
  padding: 58px max(16px, calc((100% - 1180px) / 2));
}

.page-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: none;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-panel {
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.service-panel h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.service-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.service-panel a {
  width: 100%;
  margin-top: 14px;
  color: var(--ink);
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.feature-card {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.highlight-card {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card h3,
.highlight-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p,
.highlight-card p {
  margin: 0;
  color: var(--muted);
}

.highlight-card .text-link {
  display: inline-block;
  margin-top: 22px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-item {
  position: relative;
  min-height: 132px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.service-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  padding: 4px 9px;
  color: var(--gold-dark);
  background: rgba(170, 122, 24, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

.quote-panel {
  padding: 32px;
  background: #eef1f1;
  border-left: 6px solid var(--gold);
}

.quote-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.quote-panel p {
  margin: 0;
  color: var(--muted);
}

.info-section {
  width: 100%;
  padding: 92px max(16px, calc((100% - 1180px) / 2)) 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quick-links a {
  min-height: 164px;
  padding: 24px;
  background: var(--white);
  text-decoration: none;
}

.quick-links strong {
  display: block;
  font-size: 1.05rem;
}

.quick-links span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.info-accordion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.info-accordion summary {
  position: relative;
  padding: 18px 48px 18px 20px;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.info-accordion summary::-webkit-details-marker {
  display: none;
}

.info-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--gold-dark);
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.info-accordion details[open] summary::after {
  content: "-";
}

.info-accordion details > div {
  padding: 0 20px 20px;
  color: var(--muted);
}

.info-accordion p {
  margin: 0;
}

.info-accordion p + p {
  margin-top: 10px;
}

.downloads-heading {
  margin-top: 54px;
}

.law-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.law-downloads a {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  background: var(--white);
  border-left: 5px solid var(--gold);
  color: inherit;
  text-decoration: none;
}

.law-downloads strong,
.law-downloads span,
.law-downloads em {
  display: block;
}

.law-downloads span {
  color: var(--muted);
}

.law-downloads em {
  color: var(--teal);
  font-style: normal;
  font-weight: 500;
}

.news-frame-wrap,
.map-embed {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 0;
}

.news-frame-wrap iframe,
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.iframe-note {
  padding: 10px 16px;
  color: var(--muted);
  background: #eef1f1;
  font-size: 0.86rem;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.digital-folder-section {
  padding-top: 72px;
}

.digital-folder {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 34px;
  background: var(--white);
  border-left: 6px solid var(--gold);
  box-shadow: 0 18px 48px rgba(23, 32, 41, 0.1);
}

.digital-folder h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.digital-folder p:not(.eyebrow) {
  max-width: none;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.digital-folder .text-link {
  white-space: nowrap;
}

.pdf-badge {
  width: 82px;
  height: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-methods a {
  padding: 22px;
  background: var(--white);
  border-left: 5px solid var(--gold);
  text-decoration: none;
}

.contact-methods strong,
.contact-methods span,
.contact-methods em {
  display: block;
}

.contact-methods span {
  color: var(--muted);
}

.contact-methods em {
  margin-top: 8px;
  color: var(--teal);
  font-style: normal;
  font-weight: 500;
}

.contact-methods-large {
  margin: 26px 0;
}

h2.contact-title {
  font-size: clamp(1.55rem, 2.4vw, 3rem);
  white-space: nowrap;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 80px auto 0;
  padding: 28px 0 38px;
  display: grid;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.copyright {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-footer strong,
.site-footer span {
  display: block;
  line-height: 1.35;
}

.site-footer strong {
  font-size: 0.94rem;
  font-weight: 500;
}

.wa-credit {
  display: grid;
  place-items: center;
  width: 48px;
  height: auto;
  opacity: 0.45;
  transition: opacity 180ms ease;
}

.wa-credit img {
  width: 100%;
  height: auto;
}

.wa-credit:hover {
  opacity: .75;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: block;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 14px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .client-access {
    justify-self: end;
  }

  .intro-band,
  .feature-grid,
  .highlight-grid,
  .services-list,
  .info-accordion,
  .quick-links,
  .contact-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .digital-folder {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .quick-links {
    gap: 12px;
    background: transparent;
    border: 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-symbol {
    width: 44px;
    height: 54px;
  }

  .brand-text strong {
    font-size: 1.28rem;
  }

  .brand-text span {
    font-size: 0.72rem;
    letter-spacing: 1.25px;
  }

  .client-access {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .client-access-text strong {
    font-size: 0.82rem;
    line-height: 1;
  }

  .client-access-text strong {
    font-size: 0;
  }

  .client-access-text strong::before {
    content: "ACESSO\A CLIENTES";
    white-space: pre;
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .client-access-text small {
    display: none;
  }

  .menu-button {
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding: 88px 0 64px;
  }

  .intro-band,
  .feature-grid,
  .highlight-grid,
  .services-list,
  .info-accordion,
  .law-downloads,
  .quick-links,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .metric {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .content-section,
  .info-section {
    padding-top: 68px;
  }

  .digital-folder-section {
    padding-top: 56px;
  }

  .digital-folder {
    position: relative;
    padding: 24px;
  }

  .digital-folder .pdf-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 58px;
  }

  .digital-folder h2 {
    padding-right: 76px;
  }

  .page-hero {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .news-frame-wrap iframe,
  .map-embed iframe {
    height: 360px;
  }

  .wa-credit {
    width: 48px;
    height: auto;
  }

  .site-footer {
    gap: 14px;
    margin-top: 60px;
    padding-bottom: 28px;
    font-size: 0.78rem;
  }

  .site-footer strong {
    font-size: 0.82rem;
  }

  .footer-bottom {
    align-items: center;
  }
}
