:root {
  --nav: #004b6e;
  --primary: #004b6e;
  --accent: #2e7d32;
  --light: #ffffff;
  --text: #333;
  --bg: #f9f9f9;
  --border: #e1e1e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--light);
  color: var(--text);
}

/* ===== NAVBAR ===== */
header {
  background: var(--nav);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;

  /* container fake */
  padding-left: max(40px, calc((100vw - 1200px) / 2));
  padding-right: max(40px, calc((100vw - 1200px) / 2));
  padding-top: 20px;
  padding-bottom: 20px;
}

header span{
  font-weight: bold;
}
.logo img {
position: absolute;
top: 2px;
transform: translateX(-50%);
height: 95px;
width: auto;
padding-left: 125px;
z-index: 1100;
}

.btn-whatsapp {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.nav-butons{
color: #fff;
text-decoration: none;
margin-left: 20px;
font-size: 1.1rem;
font-weight: bold;
}

.nav-butons:hover {
color: #c9b76b; /* Marrom dourado para o hover */
}
/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 80px 0; /* remove padding lateral daqui */
  background-image: url("../../assets/img/hero-pme.jpg");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 49, 61, 0.75);
  z-index: 0;
}
/* 🔑 CONTAINER IGUAL AO SITE PRINCIPAL */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.hero-text,
.form-box {
  position: relative;
  z-index: 1;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text h1 {
  font-size: 38px;
  color: var(--bg);
  margin-bottom: 15px;
}

.hero-text h1 span {
  color: rgb(18, 235, 18);
  font-size: 38px;
}

.hero-text p {
  margin-bottom: 40px;
  color: var(--bg);
  font-size: 20px;
  font-weight: bold;

}

.hero-text ul {
  list-style: none;
  color: var(--bg);
  font-size: 18px;
}

.hero-text li {
  margin-bottom: 10px;
}

.hero-text li::before {
  content: "✔ ";
  color: rgb(18, 235, 18);
  font-weight: bold;
  font-size: 25px;
}

.btn-hero {
  display: inline-block;
  margin-top: 36px;          /* 🔥 espaço do topo */
  padding: 16px 32px;        /* 🔥 botão maior */
  background: var(--accent);
  color: #fff;
  font-size: 18px;           /* 🔥 texto maior */
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

/* ===== FORM ===== */
.form-box {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  width: 380px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-box h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
}

.form-box input,
.form-box select {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.form-box button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== BENEFITS ===== */
.benefits {
  padding: 60px 40px;
  background: #fff;
}

.benefits h2,
  .testimonials h2{
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
  font-size: 30px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.benefit-card {
  background: var(--bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;

}
.benefit-card svg {
  width: 70px;
  height: 70px;
  display: block;
  margin: 0 auto 14px auto;
    stroke: #004b6e;

}
    .benefit-card h3 {
    font-size: 20px;

}

.benefit-card p {
margin-top: 20px;

}
.benefit-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.btn-submit {
  display: inline-block;
  margin-top: 36px;          /* 🔥 espaço do topo */
  padding: 16px 32px;        /* 🔥 botão maior */
  background: var(--accent);
  color: #fff;
  font-size: 18px;           /* 🔥 texto maior */
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

    /* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg);
  padding: 60px 40px;
}

.testimonials h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.testimonial {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 30px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .form-box {
    width: 100%;
    max-width: 420px;
  }
}

.benefit-icon {
  text-align: center;
  margin-bottom: 15px;
}

.benefit-icon svg {
  width: 48px;
  height: 48px;
}
.testimonial img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonials {
  background: var(--bg);
  padding: 70px 40px;
}

.testimonials h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

.testimonial p {
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  color: #333;
  margin-bottom: 14px;
}

.testimonial strong {
  font-size: 14px;
  color: var(--primary);
  font-weight: bold;
}
.form-box select {
  color: #777; /* cor de placeholder */
}

.form-box select:valid {
  color: #333; /* cor normal após seleção */
}

.form-box select option[value=""] {
  color: #777;
}

#form-success {
  display: none;
  margin-top: 20px;          /* 🔹 cria respiro */
  padding-top: 10px;         /* 🔹 separa do botão */
  border-top: 1px solid #e1e1e1; /* 🔹 divisão visual sutil */
  color: #2e7d32;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}


    /* ===================== */
/* ===== MOBILE ======= */
/* ===================== */
@media (max-width: 768px) {

  header {
    justify-content: center;
    padding: 20px 40px;
    height: 60px;
  }
  /* esconde o texto */
  .nav-butons {
    font-size: 0;
    line-height: 0;
    padding: 0;
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 🔴 GARANTE que nada interno apareça */
  .nav-butons * {
    display: none !important;
  }

  .logo {
    content: url("../../assets/img/logo_rm2.png");
    width: auto;
    position: absolute;
    top: 10px;
    height: 80px;
    z-index: 1100;
  }

 /* 🔴 ESSENCIAL: empilha conteúdo do hero */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px; /* espaço entre texto e formulário */
    width: 100%;
  }

  .hero-text {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }
  /* remove texto no mobile */
  header span {
    display: none;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
  }

  /* ajusta logo */
  .logo img {
    position: static;
    transform: none;
    padding-left: 0;
    height: 65px;

        position: absolute;
        top: 10px;
        transform: translateX(-50%);
        height: 75px;
        width: auto;
    z-index: 1100;
  }

  /* ===== HERO ===== */
  .hero {
    flex-direction: column;       /* 🔴 ISSO resolve o problema */
    align-items: center;
    padding: 50px 20px;
  }

  .btn-hero {
    margin-top: 28px;
    width: 100%;
    text-align: center;
    padding: 18px 0;
    font-size: 17px;
  }


  .hero-text {
      text-align: center;
      max-width: 520px;
      margin: 0 auto 30px auto;
  }
  .hero-text {
      text-align: center;
      max-width: 520px;
      margin: 0 auto 30px auto;
  }

  .hero-text h1 span,
  .hero-text h1 {
    display: block;
    font-size: 40px;
    font-weight: 800;
    margin-top: 4px;
  }
  .hero-text p {
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 22px;
    font-size: 18px;
  }

  .hero-text ul {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-text li {
    margin-bottom: 10px;
      font-size: 20px;
  }

  .hero-text li::before {
    font-size: 26px;
  }

  /* FORM */
  .form-box {
    width: 100%;
    max-width: 100%;
  }
}
