.site-header {
  background: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  gap: 20px;
}

.logo {
  display: block;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 249px;
  height: 100px;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
  color: #4b4f58;
}

.top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
}

.top-ico {
  width: 16px;
  height: 16px;
  color: #111;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #a42d33;
  padding: 8px;
  cursor: pointer;
}

.mainnav {
  background: #000;
}

.mainnav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mainnav a {
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 16px 16px;
  transition: transform 0.3s ease;
}

.mainnav a:hover {
  transform: scale(1.2);
}

.hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: #333;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s linear;
}

.slide.is-on {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.titulo-banner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(60%, 760px);
  background: rgba(10, 23, 55, 0.5);
  border-radius: 10px;
  padding: 15px 18px;
  text-align: center;
  z-index: 2;
}

.titulo-banner h1,
.cta .titulo-banner h2 {
  color: #fff;
  text-shadow: 2px 2px #000;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.welcome {
  display: grid;
  grid-template-columns: 47.98% 52.02%;
  gap: 30px;
  align-items: start;
  margin: 30px auto 10px;
}

.welcome-photo {
  margin-top: 30px;
}

.welcome-photo img,
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.subtitulo {
  font-weight: 700;
  margin: 1em 0 -5px;
  color: var(--heading);
  font-size: 1.17em;
}

.titulo {
  font-weight: 700;
  color: red;
  font-size: 2em;
  line-height: 1.15;
  margin: 0.15em 0 0.45em;
}

.welcome-copy p,
.about-copy p,
.lead {
  margin: 0 0 1em;
}

.lista-home {
  margin: 0.4em 0 1em;
  padding-left: 1.15em;
  list-style: none;
}

.lista-home li {
  position: relative;
  margin: 0.2em 0;
}

.lista-home li::before {
  content: "•";
  color: red;
  font-weight: 700;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.botao {
  display: inline-block;
  background: #a42d33;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.2;
}

.botao:hover {
  background: #000;
  color: #fff;
}

.produtos-titulo {
  font-weight: 700;
  text-align: center;
  color: var(--heading);
  font-size: 2em;
  margin: 50px 0 10px;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #a42d33;
  color: #fff;
  min-height: 390px;
  text-align: center;
}

.card:hover {
  background: #000;
  animation: card-pulse 0.7s infinite alternate;
  position: relative;
  z-index: 2;
}

@keyframes card-pulse {
  from {
    transform: scale(1);
    filter: brightness(50%);
  }
  to {
    transform: scale(1.1);
    filter: brightness(60%);
  }
}

.card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  min-height: 390px;
  padding: 2em 1.1em 1.4em;
  box-sizing: border-box;
}

.card > .card-ico,
.card > h3,
.card > p {
  display: block;
}

.card:not(:has(.card-link)) {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em 1.1em 1.4em;
  box-sizing: border-box;
}

.card-ico {
  width: 78px;
  height: 78px;
  margin: 8px 0 18px;
  filter: brightness(0) invert(1);
}

.card h3 {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.45em;
}

.card p {
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.card a {
  color: #fff;
}

.cta {
  min-height: 300px;
  margin-top: 30px;
  padding: 30px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cfcfcf url("/assets/img/banner-contato.webp") center / cover no-repeat;
  position: relative;
}

.cta .titulo-banner {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
}

.cta .botao {
  margin-top: 12px;
}

.site-footer {
  background: #000;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 28px 0 34px;
}

.footer-logo img {
  display: block;
  width: 300px;
  height: auto;
}

.footer-address {
  font-style: normal;
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.box-rodape {
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
}

.box-rodape p {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.box-rodape a {
  color: #fff;
  text-decoration: none;
}

.box-rodape a:hover {
  color: red;
}

.foot-ico {
  width: 16px;
  height: 16px;
}

.legal {
  background: #f3f3f3;
  color: #8a8a8a;
  text-align: center;
  padding: 16px 12px 18px;
  font-size: 14px;
}

.legal p {
  margin: 0;
}

.legal a {
  color: #dd3333;
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.page {
  padding: 22px 0 40px;
}

.crumbs {
  margin: 8px 0 8px;
  font-size: 13px;
  color: #9a9a9a;
}

.crumbs a {
  color: #dd3333;
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.page-title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e6e6;
  font-size: 30px;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 8px;
}

.form p {
  margin: 0 0 16px;
}

.form label {
  display: block;
}

.form input,
.form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  background: #fafafa;
  border: 1px solid #ededed;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
}

.form textarea {
  min-height: 220px;
  resize: vertical;
}

.form button {
  background: #dd3333;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}

.form button:hover {
  background: #3a3a3a;
}

.form-feedback {
  min-height: 1.2em;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.map-frame {
  width: 100%;
  height: 550px;
  border: 0;
  display: block;
  margin-top: 8px;
}

.cookie {
  position: fixed;
  z-index: 30;
  left: 40px;
  bottom: 40px;
  width: 440px;
  max-width: calc(100% - 24px);
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  box-shadow: 0 -1px 10px rgba(172, 171, 171, 0.3);
  padding: 20px 26px;
  color: #212121;
}

.cookie[hidden] {
  display: none;
}

.cookie h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 24px;
  color: #212121;
}

.cookie p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.cookie button {
  flex: 1;
  font: inherit;
  font-size: 14px;
  line-height: 24px;
  padding: 8px;
  border-radius: 2px;
  cursor: pointer;
  background: transparent;
  color: #1863dc;
  border: 2px solid #1863dc;
}

.cookie .cookie-accept {
  background: #1863dc;
  color: #fff;
}

@media (max-width: 921px) {
  .nav-toggle {
    display: block;
  }

  .topbar-inner {
    flex-wrap: wrap;
    min-height: 0;
    padding: 14px 0 8px;
  }

  .top-contacts {
    order: 3;
    width: 100%;
    margin: 8px 0 4px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .mainnav {
    display: none;
  }

  .mainnav.is-open {
    display: block;
  }

  .mainnav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 14px;
  }

  .mainnav a:hover {
    transform: none;
  }
}

@media (max-width: 780px) {
  .welcome,
  .about-grid,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .welcome-photo {
    margin-top: 0;
  }

  .card,
  .card-link {
    min-height: 0;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-logo img {
    margin-inline: auto;
  }

  .hero,
  .slide img {
    height: 320px;
  }

  .titulo-banner,
  .cta .titulo-banner {
    width: 90%;
  }

  .titulo-banner h1,
  .cta .titulo-banner h2 {
    font-size: 1.35em;
  }

  .card h3 {
    font-size: 1.55em;
  }
}

@media (max-width: 480px) {
  .cookie {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie .cookie-accept {
    order: -1;
  }
}
