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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #fff;
  color: #000;
}

/* =================== NAVBAR =================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #000;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

nav {
  display: flex;
  gap: 30px;
}

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

nav a:hover {
  color: #ffcc00;
}

/* =================== HERO =================== */
.hero {
  background-color: #f2f2f2;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* =================== STEPS =================== */
.steps {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.steps h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.step-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cta-button {
  background-color: #047121;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #27ae60;
}

.steps p {
  margin-top: 40px;
  font-size: 0.95rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}

/* =================== TRUST =================== */
.trust {
  background-color: #f2f2f2;
  text-align: center;
  padding: 80px 20px;
}

.trust h2 {
  font-size: 1.6rem;
  margin-bottom: 40px;
}

.trust-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.trust-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.trust-item p {
  color: #333;
  font-size: 0.95rem;
}

/* =================== SERVICES =================== */
.services {
  text-align: center;
  padding: 80px 20px;
  background-color: #f5f5f5;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.services p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.6;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centraliza os cards */
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto; /* centraliza todo o grid */
}

/* Responsivo */
@media (max-width: 768px) {
  .service-grid {
    flex-direction: column;
    align-items: center; /* garante centralização dos cards */
    gap: 20px;
  }
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* =================== ABOUT =================== */
.about {
  text-align: center;
  padding: 80px 20px;
  background-color: #fff;
  color: #000;
}

.about .intro {
  color: #555;
  font-size: 1rem;
  margin-bottom: 10px;
}

.about h2 {
  font-size: 1.8rem;
  margin-bottom: 50px;
}

.team {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.member {
  max-width: 300px;
  text-align: center;
}

.member img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}

.member h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.member .oab {
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

.member p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* =================== CONTACT =================== */
.contact {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 60px;
}

.contact h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 1rem;
  resize: none;
}

textarea {
  height: 150px;
}

button {
  background-color: #047121;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #27ae60;
}

/* =================== FOOTER =================== */
footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 20px auto;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center; /* centraliza todo conteúdo */
    text-align: center;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center; /* centraliza bottom */
    gap: 10px;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}

.footer-logo {
  width: 120px;
  margin-bottom: 20px;
}

.footer-contact p {
  margin: 3px 0;
  color: #ddd;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-right img {
  width: 22px;
  height: 22px;
  filter: invert(1);
  transition: opacity 0.3s;
}

.footer-right img:hover {
  opacity: 0.7;
}

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px auto;
  max-width: 1100px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  color: #aaa;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.form-response {
  margin-top: 15px;
  height: 20px;
  padding: 12px 15px;
  border-radius: 6px;
  font-weight: 500;
  display: block;
}

.form-response.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-response.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* =================== MEDIA QUERIES =================== */
@media (max-width: 1024px) {
  .step-container,
  .trust-stats {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  /* Hero */
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Steps */
  .step-container {
    flex-direction: column;
    gap: 20px;
  }

  .steps h2 {
    font-size: 1.5rem;
  }

  .steps p {
    font-size: 0.9rem;
  }

  /* Trust */
  .trust-stats {
    flex-direction: column;
    gap: 20px;
  }

  .trust h2 {
    font-size: 1.4rem;
  }

  /* Services */
  .service-grid {
    flex-direction: column;
    gap: 20px;
  }

  .services h2 {
    font-size: 1.5rem;
  }

  .services p {
    font-size: 0.95rem;
  }

  /* About */
  .about h2 {
    font-size: 1.5rem;
  }

  .team {
    gap: 40px;
  }

  /* Contact */
  .contact h2 {
    font-size: 1.3rem;
  }

  .contact p {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-content,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .hero p,
  .steps p,
  .services p,
  .trust-item p {
    font-size: 0.85rem;
  }

  .cta-button,
  button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
