:root {
  --roxo: #381564;
  --amarelo: #ffe300;
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;
  color-scheme: light;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
}

header {
  background-color: var(--branco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
}

header h1 {
  color: var(--roxo);
  font-size: 0.75rem;
}

header h1 img {
  width: 17.5%;
}

.btn-header {
  background-color: var(--amarelo);
  color: var(--roxo);
  text-decoration: none;
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.btn-header:hover {
  background-color: var(--roxo);
  color: var(--branco);
}

.hero {
  background-color: var(--roxo);
  text-align: center;
  padding: 3rem 1rem 14rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p strong {
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
}

h2 span, p strong {
  color: var(--amarelo);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.btn-main {
  background-color: var(--amarelo);
  color: var(--roxo);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-main:hover {
  background-color: var(--roxo);
  color: var(--branco);
  border: 2px solid white;
  margin-top: -4px;
}

.form-section {
  background-color: var(--branco);
  color: var(--roxo);
  font-weight: 600;
  max-width: 500px;
  margin: 2rem auto;
  margin-top:-190px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.form-section input,
.form-section select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-section .resultado {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0;
  text-align: center;
}

.form-section p strong {
  color: var(--roxo);
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--amarelo);
}

.btn-conversao {
  background-color: var(--amarelo);
  color: var(--roxo);
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-conversao:hover {
  background-color: var(--roxo);
  color: var(--branco);
}

footer {
  background-color: var(--roxo);
  color: var(--branco);
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 900;
}

.footer-link {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 0.5rem;
}

.social-icons a {
  margin: 0 0.5rem;
  color: var(--branco);
  font-size: 1.25rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--amarelo);
}

html {
  scroll-behavior: smooth;
}

#cnpj {
  scroll-margin-top: 120px;
}

.seo-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 1rem 4rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

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

  .btn-main {
    font-size: 1rem;
    width: 100%;
    margin-bottom: 10%;
  }
}

@media (max-width: 600px) {
  header h1 img {
    width: 120px;
  }

  .btn-header {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .form-section {
    margin-top: -60px;
    padding: 1.5rem;
  }

  .form-section input,
  .form-section select {
    padding: 0.6rem;
    font-size: 0.95rem;
  }

  .btn-conversao {
    font-size: 1rem;
    padding: 0.85rem;
  }

  .resultado {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .social-icons a {
    font-size: 1.5rem;
  }
}