/* ==========================================================================
   Universo Pet Show
   ========================================================================== */
:root {
  --green: #017B48;
  --green-dark: #015c36;
  --teal: #1B9C85;
  --panel: #EDF5EF;
  --text: #1f2a24;
  --white: #ffffff;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .25s, transform .25s;
}

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

.btn svg {
  width: 22px;
  height: 22px;
}

.btn--white {
  background: var(--white);
  color: var(--green);
}

.btn--green {
  background: var(--green);
  color: var(--white);
}

.btn--green:hover {
  background: var(--green-dark);
}

.btn--small {
  padding: 9px 38px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.header {
  background: var(--green);
  position: relative;
  z-index: 10;
}

/* Computador: cabeçalho fixo ao rolar, e as seções param logo abaixo dele */
@media (min-width: 861px) {
  .header {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
  }

  section[id],
  #empresa {
    scroll-margin-top: 96px;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.header__logo img {
  width: 220px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 18px;
  margin-left: 60px;
}

.header__nav a:not(.btn) {
  color: var(--white);
  font-size: 15px;
}

.header__nav a:not(.btn):hover {
  opacity: .8;
}

.header__buy {
  margin-left: 22px;
  padding: 10px 40px;
  font-size: 14px;
  font-weight: 500;
  animation: pulse-buy 2s infinite;
}

@keyframes pulse-buy {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .header__buy {
    animation: none;
  }
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.header__toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  background: url("../img/bg-verde-escuro.jpg") center / cover;
  color: var(--white);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero__text {
  max-width: 640px;
}

.hero__text h1 {
  font-size: 34px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero__text p {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 18px;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  background: #000;
  color: var(--white);
  transition: background .25s, transform .25s;
}

.store-btn:hover {
  background: #222;
  transform: translateY(-2px);
}

.store-btn[hidden] {
  display: none;
}

.store-btn svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.store-btn__text small {
  font-size: 11px;
  font-weight: 500;
}

.store-btn__text strong {
  font-size: 18px;
  font-weight: 700;
}

.store-btn__arch {
  margin-left: 4px;
  padding: 0 4px;
  border: 1px solid var(--white);
  border-radius: 4px;
  font-size: 10px;
  font-style: normal;
  vertical-align: middle;
}

.hero__phone {
  width: 300px;
  margin-right: 80px;
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.services {
  padding: 100px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--green);
}

.service img {
  width: 150px;
}

.service h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.service p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 16px;
}

/* ==========================================================================
   A Empresa
   ========================================================================== */
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.split--reverse {
  flex-direction: row-reverse;
}

.split__text {
  flex: 1;
  max-width: 540px;
}

.split__text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
}

.split__text p + p {
  margin-top: 18px;
}

.split__img {
  flex: 1;
  max-width: 520px;
}

.about {
  padding: 100px 0;
  background: url("../img/bg-verde-claro.jpg") center / cover;
  color: var(--white);
}

.about .split {
  padding-left: 40px;
  padding-right: 80px;
}

.about .split__img {
  max-width: 440px;
}

.values {
  padding: 50px 0;
  color: var(--green);
}

.values .split {
  padding: 0 40px;
}

.values .split__img {
  max-width: 480px;
}

.values__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Trabalhe Conosco e Contato
   ========================================================================== */
.cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 40px 20px;
  background-position: center;
  background-size: cover;
}

.cover h2 {
  color: var(--white);
  font-size: 46px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.cover--work {
  background-image: url("../img/capa-trabalhe-conosco.jpg");
}

.cover--work h2 {
  margin-left: 15%;
}

.cover--contact {
  background-image: url("../img/capa-contato.jpg");
}

.cover--contact h2 {
  margin-right: 20%;
}

.panel {
  padding: 70px 0 80px;
  background: var(--panel);
}

.panel__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  font-size: 17px;
}

.panel__highlight {
  font-weight: 600;
}

.panel__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.store {
  flex: 0 1 340px;
  display: flex;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  text-align: left;
  font-size: 15px;
}

.store p {
  color: #555;
  margin: 4px 0;
}

.store__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--green);
}

.store__phone:hover {
  text-decoration: underline;
}

.store__phone svg {
  width: 18px;
  height: 18px;
}

.store__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
}

.store__icon svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer {
  padding: 70px 0;
  background: url("../img/bg-verde-escuro.jpg") center / cover;
  color: var(--white);
  font-size: 15px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer__logo {
  width: 250px;
}

.footer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer h4 {
  font-size: 18px;
  font-weight: 600;
}

.footer__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer__stores img {
  width: 170px;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  transition: transform .25s;
}

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

.footer__social svg {
  width: 26px;
  height: 26px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 30px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .header__nav {
    margin-left: 30px;
    gap: 14px;
  }

  .hero__text p {
    font-size: 24px;
  }

  .hero__phone {
    margin-right: 0;
  }

  .about .split,
  .values .split {
    padding: 0 20px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px 20px 24px;
    background: var(--green);
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav a:not(.btn) {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
  }

  .header__buy {
    margin: 18px auto 0;
  }
}

@media (max-width: 767px) {
  .header__inner {
    min-height: 80px;
  }

  .header__logo img {
    width: 180px;
  }

  .hero__inner,
  .split,
  .split--reverse {
    flex-direction: column;
    text-align: center;
  }

  .hero__inner {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .hero__text h1 {
    font-size: 24px;
  }

  .hero__text p {
    font-size: 19px;
  }

  .hero__stores {
    justify-content: center;
  }

  .hero__phone {
    width: 240px;
  }

  .services {
    padding: 60px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about {
    padding: 60px 0;
  }

  .split {
    gap: 30px;
  }

  .split__text h2 {
    font-size: 26px;
  }

  .split__img {
    max-width: 320px;
  }

  .values {
    padding: 40px 0;
  }

  .values__list {
    text-align: left;
  }

  .cover {
    min-height: 220px;
  }

  .cover h2 {
    font-size: 34px;
    margin: 0;
  }

  .panel {
    padding: 50px 0 60px;
  }

  .panel__inner {
    font-size: 15px;
  }

  .panel__title {
    font-size: 24px;
  }

  .store {
    flex-basis: 100%;
  }

  .footer__stores img {
    width: 150px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
