.quick-menu-web {
  background: var(--Foundation-Blue-Normal, #063973);
  width: 100%;
  height: 3.125rem;
  display: flex;
  align-items: center;
}

.quick-menu-web .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quick-menu-web .info {
  display: flex;
  align-items: center;
  gap: 30px;
}

.quick-menu-web .info ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-menu-web .info strong {
  color: var(--Foundation-Blue-Light, #e6ebf1);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
  text-transform: uppercase;
}

.quick-menu-web .info a,
.quick-menu-web .info li {
  color: var(--COR-Texto-claro, #fff);
  font-size: 0.75rem;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.48px;
}

.quick-menu-web .info a:hover {
  text-decoration: underline;
}

.quick-menu-web .info p {
  color: var(--COR-Texto-claro, #fff);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.48px;
}

.links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 4px;
  gap: 8px;
}

.row {
  display: flex;
  justify-content: center;
  height: 121px;
  align-items: center;
  gap: var(--ESPAAMENTO-7XL, 5rem);
  align-self: stretch;
  background: #fff;
}

.input-container {
  position: relative;
  flex: 1;
  max-width: 41.6875rem;
}

.input-sidebar {
  position: relative;
}

.input-container .button-search-navbar,
.input-sidebar .button-search-sidebar {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.input-sidebar .button-search-sidebar {
  display: none;
}

input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
  scale: 1.2;
  margin-right: 2rem;
}

.input-container input,
.sidebar input {
  display: flex;
  width: 100%;
  height: 2.875rem;
  padding: 0.875rem 1.5rem;
  align-items: flex-start;
  gap: 240px;
  border: 1px solid #d4d4d4;
  background: #fff;
}

.row .telefones {
  display: flex;
  align-items: center;
  gap: var(--ESPAAMENTO-MD, 1rem);
  flex-shrink: 0;
  width: fit-content;
}

.row .tel {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: var(--ESPAAMENTO-MD, 0.75rem);
}

.row .tel-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.row .tel-container a,
.sidebar .tel a {
  color: var(--corh-1-h-4, #121212);
  font-size: var(--TIPOGRFIA-TEXT, 1rem);
  font-style: normal;
  font-weight: 600;
  line-height: var(--ESPAAMENTO-TIPOGRFIA-Texto-comum, 1.5rem); /* 150% */
  text-decoration: none;
}

.sidebar .tel a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.row .tel-container p {
  color: var(--COR-Texto, #424242);
  font-size: var(--TIPOGRFIA-CAPTION, 0.75rem);
  font-style: normal;
  font-weight: 400;
  line-height: var(--TIPOGRFIA-CAPTION, 12px); /* 100% */
}

header .second-row ul {
  list-style: none;
  display: flex;
  padding: var(--ESPAAMENTO-MD, 12px) 0;
  gap: 32px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

header .second-row {
  background: #f6f6f6;
}

header .second-row li {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header .second-row .link {
  color: var(--COR-Texto, #424242);
  font-size: 0.875rem;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  font-style: normal;
  font-weight: 500;
  line-height: var(--ESPAAMENTO-TIPOGRFIA-Texto-comum, 24px); /* 171.429% */
  text-transform: uppercase;
}

header .second-row .link:hover {
  color: #063973;
  font-weight: 600;
}

header .second-row .link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(10px);
  width: 0;
  height: 4px;
  background-color: #063973;
}

header .second-row .link:hover::after {
  width: 100%;
}

header .second-row .orcamento {
  display: flex;
  width: 281px;
  height: 56px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--Foundation-Blue-Normal, #063973);
  color: var(--COR-Fundo-geral, #f7f7f7);
  text-align: center;
  font-size: var(--TIPOGRFIA-TEXT, 1rem);
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  line-height: var(--ESPAAMENTO-TIPOGRFIA-Texto-comum, 1.5rem); /* 150% */
  transition: background-color 0.3s ease;
}

.sidebar .orcamento {
  display: flex;
  width: 100%;
  height: 56px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--Foundation-Blue-Normal, #063973);
  color: var(--COR-Fundo-geral, #f7f7f7);
  text-align: center;
  font-size: var(--TIPOGRFIA-TEXT, 1rem);
  text-decoration: none;
  font-style: normal;
  font-weight: 600;
  line-height: var(--ESPAAMENTO-TIPOGRFIA-Texto-comum, 1.5rem); /* 150% */
  transition: background-color 0.3s ease;
}

header .second-row .orcamento:hover,
.sidebar .orcamento:hover {
  background-color: #0053a9;
}

.menu-toggle {
  display: none;
  border: none;
  background-color: transparent;
}

.sidebar {
  display: none;
}

@media (max-width: 1200px) {
  .input-container {
    max-width: 30rem;
  }
}

@media (max-width: 992px) {
  .input-container {
    max-width: 24rem;
  }
}

@media (max-width: 768px) {
  .input-container {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .quick-menu-web,
  .row .telefones,
  .input-container,
  header .second-row ul {
    display: none;
  }

  .button-search-navbar {
    display: none;
  }

  .input-sidebar .button-search-sidebar {
    display: block;
  }

  .row {
    justify-content: space-between;
  }

  .input-container input {
    display: none;
  }

  .menu-toggle,
  .sidebar {
    display: block;
  }
}

:root {
  --sidebar-width: 18rem;
  --transition-fast: 0.25s;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast) ease;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: var(--sidebar-width);
  background: #fff;
  transform: translateX(110%);
  transition: transform var(--transition-fast) ease;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar ul {
  list-style: none;
  padding-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar .link {
  color: var(--COR-Texto, #424242);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: var(--ESPAAMENTO-TIPOGRFIA-Texto-comum, 24px); /* 171.429% */
  text-transform: uppercase;
  text-decoration: none;
}

.sidebar .link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background-color: #063973;
  width: 100%;
}

.sidebar .link:hover {
  color: #063973;
}

.backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-close {
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
  .backdrop {
    display: none;
  }

  .sidebar {
    position: static;
    transform: none !important;
    width: auto;
    height: auto;
    box-shadow: none;
  }
}
