/* === BASE === */
html {
  overflow-y: scroll;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f6fb;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.6s ease-in;
}

/* === CONTAINER === */
.container {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  margin: 40px auto 40px auto;
}

/* === LOGO === */
.logo {
  text-align: center;
  margin-bottom: 20px;
}
.logo img {
  width: 340px;
  height: auto;
  max-width: 90%;
}

/* === TÍTULOS === */
h1 {
  color: #592c82;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.subtitle {
  color: #4a4a4a;
  text-align: center;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.5;
}

/* === GRID DE FORMULÁRIOS === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Card clicável (botão grande) */
.form-card {
  display: block;
  background: #f8f6fb;
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  border: 1px solid #e0d6f0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  width: 50px;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
  transform: skewX(-25deg);
  opacity: 0;
  transition: left 0.7s ease, opacity 0.4s ease;
}

.form-card:hover::before {
  left: 120%;
  opacity: 1;
}

.form-card:hover {
  background: #ffffff;
  border-color: #c5b3e8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Cabeçalho do card */
.form-card-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6px;
}

/* Título e texto do card */
.form-card h2 {
  font-size: 17px;
  margin: 4px 0 6px 0;
  color: #592c82;
}

.form-card p {
  font-size: 14px;
  margin: 0 0 10px 0;
  color: #4a4a4a;
}

/* CTA do card */
.form-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #592c82;
}

.form-card-cta::after {
  content: "↗";
  font-size: 13px;
}

/* Pílulas de tipo de formulário */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.pill-consultoria {
  background: #592c82;
}

.pill-nps {
  background: #43A047;
}

/* Se quiser criar mais tipos no futuro
.pill-outra-coisa {
  background: #FB8C00;
}
*/

/* === RODAPÉ === */
.footer {
  width: 100%;
  background: linear-gradient(to top, #f3ecfa 90%, #f8f6fb 100%);
  border-top: 2px solid #e2d8f0;
  color: #592c82;
  font-size: 14px;
  text-align: center;
  padding: 20px 10px;
  box-sizing: border-box;
  margin-top: auto;
}

.footer p {
  margin: 4px 0;
  line-height: 1.4;
}

.footer a {
  color: #592c82;
  text-decoration: none;
  font-weight: 500;
}

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

/* === ANIMAÇÃO === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .container {
    border-radius: 0;
    padding: 24px 16px 28px 16px;
    box-shadow: none;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    min-height: auto;
  }

  h1 {
    font-size: 20px;
  }

  .subtitle {
    font-size: 14px;
  }

  .form-card {
    padding: 16px 14px;
  }

  .form-card h2 {
    font-size: 16px;
  }

  .form-card p {
    font-size: 13px;
  }

  .footer {
    font-size: 12px;
    padding: 18px 10px;
  }
}
