@font-face {
  font-family: Montserrat;
  src: url("/conhecimento/assets/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --base: #fafaf7;
  --blue: #132d46;
  --text: #29343a;
  --red: #bc3d3d;
  --line: color-mix(in srgb, var(--blue) 16%, var(--base));
  --header-height: 120px;
  scroll-padding-top: calc(var(--header-height) + 16px);
}
.header,
.footer,
dialog {
  font-family: Montserrat, sans-serif;
  color: var(--blue);
  line-height: 1.48;
}
.header img,
.footer img,
dialog img {
  display: block;
  max-width: 100%;
}
.header a,
.footer a,
dialog a {
  color: inherit;
  text-decoration: none;
}
.header button,
.footer button,
dialog button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}
.footer button:disabled {
  cursor: default;
}
dialog h2,
dialog p,
.footer p {
  margin: 0;
}
dialog strong,
dialog h2 {
  font-weight: 600;
}
.header *,
.footer *,
dialog,
dialog * {
  box-sizing: border-box;
}

.container {
  width: calc(100% - 120px);
  max-width: 1120px;
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
}

.logo {
  width: 218px;
  height: auto;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  gap: 28px;
  font-size: 14px;
}

.cta {
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: var(--base);
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.header-cta {
  padding: 16px 20px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--blue);
}

.footer {
  padding-top: 40px;
  padding-bottom: 18px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 28px;
}

.footer-brand .logo {
  width: 220px;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
}

.footer address {
  border-inline: 1px solid var(--line);
  padding-inline: 28px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer address > a,
.footer address > span {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-wrap: anywhere;
}

.icon {
  width: 27px;
  height: 27px;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

span:has(> .icon) {
  flex: none;
}

.social-links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.social-links a {
  min-height: 32px;
  display: grid;
  place-items: center;
}

.social-links .icon {
  width: 25px;
  height: 25px;
}

.client-area {
  display: block;
  margin: 26px auto 0;
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  opacity: 1;
  font-size: 13px;
}

.legal {
  text-align: center;
  font-size: 12px;
  border-top: 1px solid var(--blue);
  padding-top: 14px;
  margin-top: 26px;
  color: var(--blue);
}

dialog {
  background: var(--base);
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 5px;
  padding: 64px 40px 32px;
  width: 560px;
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

dialog::backdrop {
  background: rgb(19 45 70 / 0.52);
}

dialog h2 {
  font-size: 30px;
  letter-spacing: -1px;
}

dialog h2 + p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--blue);
}

.close {
  position: absolute;
  right: 18px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  padding: 4px 8px;
}

.contact-options {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.contact-options > a,
.contact-options > button {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 20px 24px;
  background: none;
}

.contact-options .icon {
  width: 38px;
  height: 38px;
}

.contact-options strong {
  display: block;
  font-size: 20px;
}

.contact-options small {
  display: block;
  font-size: 16px;
  margin-top: 2px;
}

.arrow {
  margin-left: auto;
  color: var(--red);
  font-size: 32px;
}

.mobile-menu {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: none;
  width: 390px;
  padding: 30px;
  max-width: 100%;
  border-radius: 0;
}

.menu-top {
  display: flex;
  align-items: center;
}

.mobile-menu nav {
  display: grid;
  margin-block: 40px;
}

.mobile-menu nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.mobile-menu .cta {
  width: 100%;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  background: var(--base);
  padding: 12px;
  z-index: 10;
}

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

@media (max-width: 1100px) and (min-width: 641px) {
  .container {
    width: 87%;
  }

  .header {
    min-height: 85px;
    gap: 18px;
  }

  .logo {
    width: 170px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .footer {
    font-size: 11px;
    padding-top: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 18px;
  }

  .footer-brand .logo {
    width: 165px;
  }

  .footer address {
    padding-inline: 18px;
  }

  .footer .icon {
    width: 22px;
    height: 22px;
  }

  .client-area {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }

  .header {
    min-height: 64px;
    border: 0;
    justify-content: space-between;
    gap: 0;
  }

  .header .logo {
    width: 132px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .footer {
    padding-top: 20px;
    font-size: 11px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-brand {
    display: contents;
  }

  .footer-brand .logo {
    width: 135px;
    margin-bottom: 5px;
  }

  .whatsapp-link {
    margin: 0;
    width: 235px;
    gap: 12px;
  }

  .footer address {
    padding: 0;
    border: 0;
    width: 235px;
    gap: 6px;
  }

  .footer address > a,
  .footer address > span {
    gap: 12px;
  }

  .footer .icon {
    width: 20px;
    height: 20px;
  }

  .social-links {
    gap: 15px;
    margin-top: 2px;
  }

  .client-area {
    margin-top: 17px;
    font-size: 12px;
  }

  .legal {
    font-size: 10px;
    margin-top: 18px;
    padding-top: 12px;
  }

  .footer address > a {
    font-size: 10px;
  }

  dialog {
    padding: 62px 22px 26px;
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  dialog h2 {
    font-size: 24px;
    line-height: 1.13;
  }

  dialog h2 + p {
    font-size: 16px;
    line-height: 1.35;
    margin-top: 14px;
  }

  .contact-options {
    gap: 10px;
    margin-top: 22px;
  }

  .contact-options > a,
  .contact-options > button {
    padding: 16px;
    gap: 18px;
  }

  .contact-options strong {
    font-size: 18px;
  }

  .contact-options small {
    font-size: 14px;
  }

  .contact-options .icon {
    width: 33px;
    height: 33px;
  }

  .arrow {
    font-size: 28px;
  }

  .close {
    font-size: 30px;
  }

  .mobile-menu {
    padding: 28px;
  }

  .mobile-menu .close {
    top: 25px;
  }

  .mobile-menu .cta {
    font-size: 14px;
  }
}

@media (min-width: 1101px) {
  .container {
    width: 90%;
    max-width: 1280px;
  }

  .header {
    min-height: 120px;
  }

  .footer {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.45fr 1fr;
  }
}

@media (max-width: 1100px) and (min-width: 641px) {
  .header {
    min-height: 68px;
  }

  .footer-grid {
    grid-template-columns: 0.9fr 1.6fr 0.9fr;
    gap: 14px;
  }

  .footer address {
    padding-inline: 16px;
    font-size: 10px;
  }

  .social-links {
    gap: 6px;
  }

  .footer-social .icon {
    width: 20px;
    height: 20px;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  background: var(--base);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 0 100vmax var(--base);
  clip-path: inset(0 -100vmax);
  background: var(--base);
  z-index: -1;
}

.nav-contact {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
}

.mobile-menu nav .nav-contact {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.skip-link {
  z-index: 30;
}

.footer-privacy-controls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.footer-privacy-controls button {
  border: 0;
  background: none;
  padding: 4px 8px;
  color: var(--blue);
  font-size: 11px;
  text-decoration: underline;
}

.footer-privacy-controls {
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 5px;
}

.footer-privacy-controls a,
.footer-privacy-controls button {
  border: 0;
  background: none;
  padding: 4px 5px;
  color: var(--blue);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.footer-privacy-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: 7px;
  text-align: center;
}

.footer-privacy-controls a,
.footer-privacy-controls button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 2px 0;
  margin: 0;
  color: var(--blue);
  font-family: inherit;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}

.footer-privacy-controls span {
  color: var(--blue);
  font-size: 9px;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .legal {
    margin-bottom: 0;
  }

  .footer-privacy-controls {
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    padding-bottom: 8px;
  }

  .footer-privacy-controls span {
    display: none;
  }

  .footer-privacy-controls a,
  .footer-privacy-controls button {
    font-size: 10px;
    line-height: 1.35;
    padding: 1px 0;
  }
}
.contact-options strong {
  font-size: 18px;
}

.contact-options > a,
.contact-options > button {
  gap: 18px;
}

@media (max-width: 640px) {
  .contact-options strong {
    font-size: 15px;
    line-height: 1.35;
  }

  .contact-options > a,
  .contact-options > button {
    gap: 14px;
    padding: 16px 14px;
  }

  .contact-options small {
    font-size: 13px;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .header {
    min-height: 96px;
  }
}
.kw-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font:
    10px Montserrat,
    sans-serif;
  color: #132d46;
}

.kw-signature img {
  width: 110px;
  height: auto;
}

.footer-social .client-area {
  display: block;
  margin-inline: auto;
  text-align: center;
}
.header.container,
.footer.container {
  width: 90%;
  max-width: 1280px;
  margin-inline: auto;
}
.header .desktop-nav {
  gap: clamp(12px, 1.45vw, 27px);
  align-items: center;
}
.header .desktop-nav a {
  white-space: nowrap;
}
.header .desktop-nav [aria-current],
.mobile-menu nav [aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.38em;
}
.header .cta,
.mobile-menu .cta {
  color: var(--base);
}
.header .header-cta {
  white-space: nowrap;
}
#knowledge-preferences form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
#knowledge-preferences button[type="submit"] {
  background: var(--base);
  border: 1px solid var(--blue);
  min-height: 44px;
  padding: 8px 16px;
  font-size: 1rem;
}
dialog :focus-visible,
.header :focus-visible,
.footer :focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.footer .footer-privacy-controls a,
.footer .footer-privacy-controls button {
  padding: 8px 2px;
  font-size: 12px;
  text-decoration: underline;
}
@media (max-width: 1100px) and (min-width: 641px) {
  .header.container,
  .footer.container {
    width: 87%;
  }
}
@media (max-width: 640px) {
  .header.container,
  .footer.container {
    width: calc(100% - 40px);
  }
  .mobile-menu nav {
    margin-block: 20px;
  }
  .mobile-menu nav a,
  .mobile-menu nav .nav-contact {
    padding: 12px 0;
    font-size: 18px;
    min-height: 44px;
  }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .header {
    gap: 16px;
  }
  .header .logo {
    width: 156px;
  }
  .header .desktop-nav {
    font-size: 13px;
  }
  .header .header-cta {
    padding: 14px 10px;
  }
}
