:root {
  --primary: #354d14;
  --accent: #49E670;
  --background: #f5f5f5;
  --text: #222;
  --white: #fff;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-flex, .footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 0;
}

.logo {
  height: 50px;
  width: auto;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.menu a:hover, .menu a:focus {
  color: var(--accent);
}

.btn-whatsapp {
  background: var(--accent);
  color: var(--white);
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.btn-whatsapp:hover, .btn-whatsapp:focus {
  background: #2d6a34;
}

.hero {
  background: linear-gradient(49deg, rgba(53,77,20,0.7) 20%, rgba(0,212,255,0) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.counters {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.counter {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(53,77,20,0.08);
  padding: 2rem 1rem;
  flex: 1 1 200px;
  text-align: center;
}

.counter-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--primary);
}

.about {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.about-img img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
}

.about-text {
  flex: 2;
}

.services {
  margin: 2rem 0;
}

.service-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.flip-card {
  background: none;
  width: 220px;
  height: 180px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(53,77,20,0.08);
  background: var(--white);
  padding: 1rem;
  text-align: center;
}

.flip-card-front {
  font-weight: bold;
}

.flip-card-back {
  transform: rotateY(180deg);
  color: var(--primary);
}

.atendimento-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.atendimento-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(53,77,20,0.08);
  padding: 1.5rem 1rem;
  text-align: center;
  width: 220px;
}

.atendimento-card img {
  height: 60px;
  margin-bottom: 1rem;
}

.blog-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(53,77,20,0.08);
  padding: 1rem;
  width: 300px;
}

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

.btn-more {
  display: inline-block;
  margin-top: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.btn-more:hover, .btn-more:focus {
  background: var(--accent);
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
  flex: 1 1 200px;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  min-width: 100%;
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.8rem 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover, .contact-form button:focus {
  background: var(--accent);
}

.contact-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info img {
  height: 40px;
}

.enderecos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.enderecos div {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(53,77,20,0.08);
  padding: 1.5rem 1rem;
  text-align: center;
  width: 300px;
}

.enderecos img {
  height: 50px;
  margin-bottom: 1rem;
}

.mapa iframe {
  width: 100%;
  min-height: 300px;
  border: none;
  border-radius: 10px;
  margin: 2rem 0;
}

footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 2rem 0 1rem 0;
}

.footer-flex {
  flex-direction: column;
  gap: 1rem;
}

.footer-flex img {
  height: 40px;
}

.social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.social a {
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.social a:hover, .social a:focus {
  color: var(--accent);
}

@media (max-width: 900px) {
  .about, .counters, .service-cards, .enderecos, .contact-info, .atendimento-cards, .blog-cards {
    flex-direction: column;
    align-items: center;
  }
  .header-flex, .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .menu {
    flex-direction: column;
    gap: 1rem;
  }
}
