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

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.1; /* 1.6 */
  background-color: #cac7c7; /* #b4b0b0 */
  color: #000000; /* #333 */
  position: relative;
}

/* Imagem (logo) no background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("./assets/img/logotipo.webp") center center no-repeat;
  background-size: 50rem;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.header {
  background-color: #203b82;
  color: #f1f1f1;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  /* justify-content: space-between; */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  flex: none;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.85;
}

.hero {
  position: relative;
  background: url("./assets/img/cachorronocampo.webp") center/cover no-repeat;
  color: rgb(255, 255, 255); /* rgb(230, 224, 224) */
  padding: 22rem 0;
  text-align: center;
  z-index: 1;
}
/* Parte relacionada ao sombreamento que tem na parte de baixo do background do cachorro */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%; /* ajustar */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #181717 100%);
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content h2 {
  position: relative;
  z-index: 3;
  /* font-size: 2.5rem;
  margin-bottom: 1rem;
  */
}

.section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cards,
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.project-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-subtitle {
  font-size: 1.3rem;
  color: #000000;
  text-align: center;
  margin: 0.5rem 0;
}

.about-image {
  margin-top: 2rem;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.resultado-card {
  background-color: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
}

.resultado-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #000000;
}

.descricao {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #000000;
  text-align: justify;
  margin-bottom: 1rem;
}

.resultado-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.8rem;
  background-color: #203b82;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.resultado-btn:hover {
  background-color: #3266e9;
  transform: scale(1.03);
}

.location-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.location-info {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 500px;
}

.map-placeholder img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hours {
  list-style: none;
  padding-left: 0;
}

.hours li {
  padding-left: 1.2rem;
  position: relative;
}

.hours li::before {
  /* content: "🐾"; */
  position: absolute;
  left: 0;
  color: #f1f1f1;
}

.map-placeholder iframe {
  width: 100%;
  max-width: 600px;
  height: 400px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #111622;
  color: #cbd5e0;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #cbd5e0;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.social-icons a:hover {
  background-color: #ffffff;
  color: #203b82;
  transform: translateY(-2px);
}

.social-icons i {
  font-size: 1.2rem;
}

.copyright {
  margin-top: 1rem;
  text-align: center;
  color: #f1f1f1;
  border-top: 1px solid #2d3748;
  padding-top: 1.5rem;
}

/* Seção Fale Conosco */
.contato-section {
  background: #cac7c7;
  padding: 3rem 0;
  text-align: center;
}

.contato-section h2 {
  font-size: 2rem;
  color: #203b82;
  margin-bottom: 1rem;
}

.contato-section p {
  font-size: 1.15rem;
  color: #222;
  margin-bottom: 2rem;
}

.contato-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contato-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #203b82;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.contato-btn:hover {
  background: #3266e9;
  transform: scale(1.04);
}

.contato-btn svg {
  width: 1.5em;
  height: 1.5em;
  fill: currentColor;
}

@media (max-width: 600px) {
  .contato-buttons {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* Parte relacionada a responsividade e adequação a aparelho como celulares e tablets que abrirem o site pelo navegador */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 10px;
  }

  .nav {
    position: absolute;
    top: 60px;
    right: 20px;
    background: #1a3781; /* #152e6d */
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    border-radius: 8px;
    display: none;

    z-index: 1000;
  }

  .nav.show {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav a {
    padding: 0.5rem 0;
    text-align: center;
  }

  .cards,
  .projects,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .location-wrepper {
    align-items: flex-start;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .map-placeholder iframe {
    width: 100%;
    height: 300px;
  }
}

.hidden {
  /* essa parte faz os elementos aparecerem lentamente (como codado no javascript) */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  animation: pulseWpp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background-color: #20b85a;
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-float .wpp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float .wpp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.whatsapp-float:hover .wpp-tooltip {
  opacity: 1;
}

@keyframes pulseWpp {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 12px rgba(37, 211, 102, 0.2);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}
