:root {
  --navy: #063a63;
  --navy-strong: #042d4d;
  --blue: #0b6fae;
  --teal: #15a6b5;
  --green: #3f8f70;
  --gold: #D2A553;
  --gold-soft: #fbf4e5;
  --gold-line: rgba(210, 165, 83, .36);
  --ink: #172b3a;
  --muted: #627484;
  --line: #d8e4ec;
  --soft: #f5f8fb;
  --warm: #f7f1e8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 48, 74, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.status-bar {
  background: var(--navy-strong);
  color: #dbeaf4;
  font-size: 12px;
}

.status-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.status-bar strong {
  color: #f2d597;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--gold-line);
  backdrop-filter: blur(14px);
}

.header-grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 300px;
  max-width: 90%;
  height: auto;
}

.brand-footer-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-weight: 800;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #365268;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.header-action {
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  box-shadow: inset 0 -3px 0 rgba(210, 165, 83, .42);
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--navy-strong);
}

.button {
  padding: 0 20px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover {
  background: var(--navy-strong);
  box-shadow: inset 0 -3px 0 rgba(210, 165, 83, .55);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gold-line);
}

.button-secondary:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

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

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

.hero {
  background:
    linear-gradient(135deg, rgba(6, 58, 99, .08), rgba(210, 165, 83, .10) 45%, rgba(247, 241, 232, .78)),
    var(--soft);
}

.hero-grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 3.05fr) minmax(340px, .8fr);
  align-items: center;
  gap: 70px;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #8be1df;
}

.hero h1,
.section-heading h2,
.institutional-grid h2,
.info-grid h2,
.service-section h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 58px);
}

.hero-intro > p:not(.eyebrow),
.section-heading > p,
.institutional-grid p,
.info-grid p,
.service-section p {
  color: var(--muted);
  font-size: 16px;
}

.hero-intro > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

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

.legal-document {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(216, 228, 236, .95);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 16px 38px rgba(13, 48, 74, .08);
}

.legal-document__header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold-line);
}

.legal-document__header img {
  width: min(210px, 42vw);
  height: auto;
  display: block;
}

.legal-document__header span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-document p {
  margin: 0;
  color: #31495b;
  font-size: 14px;
  line-height: 1.72;
}

.legal-document strong {
  color: var(--navy);
}

.legal-document .signature {
  padding-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  align-self: start;
  margin-top: 334px;
  overflow: hidden;
  min-height: 400px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(4, 45, 77, .94), rgba(6, 58, 99, .78), rgba(210, 165, 83, .28)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.panel-top {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.panel-top span,
.contact-card span,
.support-card span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-top strong {
  font-size: 34px;
}

.service-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin: 80px 0 0;
}

.service-list div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.service-list dt {
  margin-bottom: 5px;
  color: #f2d597;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-list dd {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
}

.quick-access {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  transform: translateY(-34px);
  background: var(--gold-line);
  box-shadow: var(--shadow);
}

.quick-grid a {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.quick-grid a:hover {
  background: #f9fcfd;
}

.quick-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold-soft);
  font-weight: 800;
}

.quick-grid strong {
  font-size: 15px;
}

.quick-grid small {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 96px 0;
}

.compact-section {
  padding: 72px 0;
}

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

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

.section-heading h2,
.institutional-grid h2,
.info-grid h2,
.service-section h2 {
  font-size: clamp(30px, 4vw, 46px);
}

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

.product-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card--accent {
  background: var(--gold-soft);
}

.product-number {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-card a,
.link-list a,
.text-link {
  margin-top: auto;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-card a::after,
.link-list a::after,
.text-link::after {
  content: " ->";
  color: var(--gold);
}

.institutional-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 72px;
}

.visual-block {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 32px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 58, 99, .84), rgba(210, 165, 83, .46)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.visual-block span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.visual-block strong {
  margin-top: 8px;
  font-size: 44px;
  line-height: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.values-grid span {
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: var(--white);
  color: #345166;
  font-size: 13px;
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 64px;
  align-items: start;
}

.link-list,
.support-card {
  display: grid;
  gap: 12px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.service-section {
  padding: 84px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-strong));
  border-top: 4px solid var(--gold);
}

.service-section p {
  color: #c9dbe6;
}

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

.contact-card,
.support-card {
  margin: 0;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.contact-card span,
.support-card span {
  color: var(--gold);
}

.contact-card a,
.support-card a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:first-of-type {
  font-size: 30px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.support-card {
  min-height: 210px;
}

.footer {
  padding: 52px 0 24px;
  color: #a9bfce;
  background: #032743;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 56px;
}

.brand-footer {
  color: var(--white);
  margin-bottom: 18px;
}

.footer p {
  margin: 0;
  font-size: 13px;
}

.footer nav,
.footer-grid > div:last-child {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer strong {
  color: var(--white);
  font-size: 13px;
}

.footer a {
  color: #a9bfce;
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(210, 165, 83, .28);
  font-size: 12px;
}

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

  .nav {
    display: none;
  }

  .nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 12px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    width: 100%;
    padding: 14px 0;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .institutional-grid,
  .info-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
    min-height: auto;
  }

  .hero-panel {
    margin-top: 0;
  }

  .quick-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .status-bar__inner {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .header-grid {
    min-height: 70px;
    gap: 12px;
  }

  .brand-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 17px;
  }

  .header-action {
    display: inline-flex;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .hero-grid {
    padding: 44px 0 60px;
  }

  .hero-panel,
  .visual-block {
    min-height: 320px;
    padding: 24px;
  }

  .panel-top strong,
  .contact-card a:first-of-type {
    font-size: 25px;
  }

  .quick-grid,
  .product-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    transform: translateY(-24px);
  }

  .section {
    padding: 72px 0;
  }

  .compact-section {
    padding: 58px 0;
  }

  .product-card {
    min-height: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.footer-grid > div.footer-identity {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-identity .brand-footer {
  flex-shrink: 0;
  margin-bottom: 0;
}

.footer-identity p {
  text-align: right;
}

@media (max-width: 600px) {
  .footer-grid > div.footer-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-identity p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-grid > .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .header-grid > .menu-button {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Identificação e endereço no rodapé. */
.footer-grid > div.footer-identity {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.footer-address {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.footer-address strong {
  color: #f2d597;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#atendimento {
  scroll-margin-top: 150px;
}

@media (max-width: 800px) {
  .footer-grid > div.footer-identity {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: start;
  }

  .footer-identity p {
    text-align: left;
  }
}
@media (min-width: 1021px) {
  .hero-grid {
    grid-template-rows: auto auto;
    align-items: stretch;
    row-gap: 30px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-intro {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-grid .legal-document {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .hero-grid .hero-panel {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    margin-top: 0;
  }
}