/* --- Reset Global e Variáveis --- */
:root {
  --primary-color: #28a745; /* Verde principal (similar ao do botão) */
  --primary-dark: #218838; /* Verde mais escuro para hover */
  --text-color: #333;
  --light-gray-bg: #f9f9f9;
  --white-color: #fff;
  --border-color: #ddd;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white-color);
}

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

section {
  padding: 60px 0;
}

h1,
h2,
h3 {
  margin-bottom: 20px;
  text-align: center;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
  color: #444;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 15px;
  text-align: center;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

/* --- Botão Principal --- */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.btn.btn-light:hover {
  background-color: #f0f0f0;
}

/* --- Barra Superior --- */
.top-bar {
  background-color: #f4f4f4;
  text-align: center;
  padding: 10px 0;
  font-size: 0.8rem;
}
.top-bar p {
  margin-bottom: 0;
  color: #666;
}

/* --- Seção Hero --- */
.hero {
  text-align: center;
  padding-top: 40px;
}
.hero .logo-placeholder {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 15px;
}
.hero h1 {
  color: var(--text-color);
}
.hero .sub-text {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #777;
}

/* --- Seção "Por que escolher" --- */
.why-us {
  background-color: var(--light-gray-bg);
}
.why-us .verified-badge {
  text-align: center;
  margin-bottom: 30px;
}
.why-us .verified-badge span {
  display: inline-block;
  background-color: #e9f7ea;
  color: var(--primary-dark);
  border: 1px solid #b7e4bb;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.feature-item {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  padding: 25px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* *** ALTERAÇÃO FEITA AQUI *** */
/* Regra para os emojis (🔒, 💬, 🛡️) adicionada de volta e aumentada */
.feature-item .icon-placeholder {
  display: block;
  font-size: 2.5rem; /* Você pode aumentar ou diminuir este valor */
  margin-bottom: 15px;
}
/* *** FIM DA ALTERAÇÃO *** */

/* Adiciona as novas regras para o círculo */
.feature-item .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  overflow: hidden; /* Garante que a imagem fique dentro do círculo */
}

/* Estilo para a IMAGEM do PRODUTO (cobre o círculo) */
.feature-item .icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Faz a imagem preencher o círculo */
}

/* Estilo para o ÍCONE (fica menor, dentro do círculo) */
.feature-item .icon-circle.is-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain; /* Mostra o ícone inteiro sem cortar */
}
/* Fim da Alteração 1 */

/* --- Seção "Como funciona" --- */
.steps-list {
  list-style: none;
  max-width: 600px;
  align-items: flex-start;
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
}
.steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}
.steps-list .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 20px;
}
.steps-list p {
  text-align: left;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* --- Seção Testemunhos --- */
.testimonials {
  background-color: var(--light-gray-bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white-color);
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.testimonial-card p {
  text-align: left;
  font-style: italic;
  margin-bottom: 15px;
}
.testimonial-card span {
  text-align: right;
  display: block;
  font-weight: bold;
  color: var(--primary-color);
}

/* --- Seção Envio e Segurança --- */
.security .security-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.security .security-badge {
  text-align: center;
}
.security .security-badge span {
  display: block;
  font-size: 2rem;
  color: #aaa;
}
.security .security-badge p {
  font-size: 0.9rem;
  color: #777;
  margin-top: 5px;
}

/* --- Seção FAQ --- */
.faq {
  background-color: var(--light-gray-bg);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden; /* Para bordas arredondadas */
}
.faq summary {
  padding: 18px 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Remove marcador padrão */
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none; /* Remove marcador no Chrome */
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details > div {
  padding: 15px 20px 20px 20px;
  border-top: 1px solid var(--border-color);
}
.faq details > div p {
  text-align: left;
  margin-bottom: 0;
}

/* --- Footer CTA --- */
.footer-cta {
  padding: 8%;
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
}
.footer-cta h2 {
  color: var(--white-color);
}
.footer-cta .sub-text {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* --- Copyright --- */
.copyright {
  background-color: #191919;
  color: #aaa;
  padding: 14px 0;
  text-align: center;
  font-size: 0.9rem;
}
.copyright p {
  color: #aaa;
  margin-bottom: 10px;
}
.copyright .social-links a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
}
.copyright .social-links a:hover {
  color: var(--white-color);
}

/* ALTERAÇÃO 2: Estilos do botão flutuante do WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 12px 20px;
  border-radius: 30px; /* Borda bem arredondada */
  display: flex;
  align-items: center;
  gap: 10px; /* Espaço entre ícone e texto */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Garante que fique por cima de tudo */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px); /* Leve animação ao passar o mouse */
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: var(--white-color);
}
/* Fim da Alteração 2 */

/* --- Responsividade --- */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  section {
    padding: 40px 0;
  }
  .features-grid {
    /* O item 5 vai ficar sozinho, centralizado */
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 20px auto 0 auto;
  }
  .steps-list li {
    align-items: flex-start;
  }
  .steps-list p {
    flex-basis: 85%;
  }

  /* Ajusta o botão flutuante em telas menores */
  .floating-whatsapp {
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .top-bar p {
    font-size: 0.7rem;
    line-height: 1.4;
  }
}
