:root {
  --verde: #009d92;
  --cinza: #9a9999;
  --branco: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  background: var(--branco);
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--verde);
  padding: 2.2rem 2rem 1.5rem;
  height: 145px;
}

.logo-header {
  width: 268px;
  max-width: 70%;
}

/* Banner */
.banner {
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contatos */
.contacts {
  display: grid;
  grid-template-columns: 1.53fr 0.5fr 1fr;
  gap: 1.25rem;
  padding: 0;
  padding-top: 19px;
}

.box {
  background: var(--verde);
  color: var(--branco);
  padding: 1.25rem 1.5rem 1.5rem;
  min-height: 170px;
}

.box h2 {
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.56rem);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.televendas {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 1.25rem 132px 1.5rem 1.5rem;
  container-type: inline-size;
  container-name: televendas;
}

.televendas h2,
.televendas .phones {
  width: 488px;
  max-width: 100%;
}

.televendas .phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
  gap: 1.25rem 14px;
}

.televendas .phones p {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 500;
}

.televendas .phones strong {
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  font-weight: 700;
}

@container televendas (max-width: 28rem) {
  .televendas .phones {
    justify-items: center;
  }

  .televendas .phones p {
    text-align: center;
    align-items: center;
  }
}

.sac-email,
.sac-phone {
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.5;
}

.sac-email span {
  font-size: 0.9em;
  font-weight: 500;
}

.catalogo {
  display: block;
  transition: filter 0.2s ease;
}

.catalogo p {
  max-width: 16rem;
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
}

.catalogo h2 strong,
.catalogo p strong {
  font-weight: 700;
}

.catalogo:hover,
.catalogo:focus-visible {
  filter: brightness(1.08);
}

/* Redes sociais */
.social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 1.75rem;
  padding: 3.5rem 1.5rem;
}

.social p {
  font-size: clamp(1.1rem, 1.8vw, 1.56rem);
  line-height: 1.3;
  text-transform: uppercase;
  text-align: right;
  color: var(--verde);
}

.social p span {
  font-weight: 400;
}

.social p strong {
  font-weight: 500;
}

.social nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social nav img {
  width: 50px;
  height: 50px;
}

.social nav a:hover,
.social nav a:focus-visible {
  opacity: 0.8;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  padding: 1.5rem;
  border-top: 2px solid var(--cinza);
}

.logo-ordene {
  width: 200px;
}

.logo-inbetta {
  width: 91px;
}

.footer p {
  max-width: 28rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--cinza);
}

@media (max-width: 1280px) {
  .televendas {
    align-items: center;
    padding-right: clamp(1.5rem, 8vw, 132px);
    padding-left: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .contacts {
    grid-template-columns: 1fr 1fr;
  }

  .televendas {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .televendas h2,
  .televendas .phones {
    width: min(100%, 36rem);
  }

  .sac,
  .catalogo {
    text-align: center;
  }

  .catalogo p {
    max-width: none;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .header {
    padding: 1.25rem 1rem;
  }

  .contacts {
    gap: 0.75rem;
  }

  .social p {
    text-align: center;
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-header {
    width: 200px;
  }

  .box {
    min-height: 0;
    padding: 1.25rem;
  }

  .social nav img {
    width: 42px;
    height: 42px;
  }
}
