* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #1F7A4C;
  --green-dark: #17603b;
  --green-soft: #EAF5EF;
  --red: #C62828;
  --red-dark: #a61f1f;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --text: #1F2933;
  --text-soft: #52606D;
  --line: #D9E2EC;
  --line-dark: #C4D0DD;
  --shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
  --shadow-soft: 0 10px 24px rgba(31, 41, 51, 0.06);
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  background: var(--green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.brand-mark {
  width: 46px;
  height: 52px;
  border-radius: 12px 12px 16px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.brand-mark-top,
.brand-mark-center,
.brand-mark-bottom {
  flex: 1;
  display: block;
}

.brand-mark-top {
  background: #1F7A4C;
}

.brand-mark-center {
  background: #FFFFFF;
}

.brand-mark-bottom {
  background: #C62828;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.82;
}

/* HERO */
.hero-section {
  background:
    linear-gradient(180deg, rgba(31, 122, 76, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(31, 122, 76, 0.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-text {
  max-width: 650px;
  font-size: 21px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 30px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  background: var(--red);
  color: var(--white);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 30px rgba(198, 40, 40, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(198, 40, 40, 0.26);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-trust span {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.08);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card-header strong {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  line-height: 1.2;
  color: var(--text);
}

.hero-card-list {
  padding-left: 20px;
}

.hero-card-list li {
  color: var(--text-soft);
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

/* QUIZ */
.quiz-section {
  background: var(--off-white);
  padding: 20px 0 80px;
}

.quiz-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.quiz-top span {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #E5EAF0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}

.progress-fill {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #C62828 0%, #d93a3a 100%);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeInStep 0.25s ease;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #FBE9E9;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step h2 {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 820px;
}

.step-text {
  font-size: 21px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 760px;
  margin-bottom: 30px;
}

.answers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.answer-btn,
.primary-btn {
  width: 100%;
  min-height: 86px;
  border-radius: 18px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.answer-btn {
  background: var(--white);
  color: var(--text);
  border: 1px solid #D8E1EB;
  box-shadow: var(--shadow-soft);
}

.answer-btn:hover {
  border-color: var(--green);
  background: rgba(31, 122, 76, 0.05);
  transform: translateY(-1px);
}

.answer-btn:focus-visible,
.primary-btn:focus-visible,
input:focus-visible,
.hero-cta:focus-visible {
  outline: 3px solid rgba(31, 122, 76, 0.16);
  outline-offset: 2px;
}

.answer-btn.selected {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(31, 122, 76, 0.14);
}

.answer-btn:disabled {
  cursor: not-allowed;
}

.field-group {
  display: grid;
  gap: 16px;
  max-width: 620px;
}

input {
  width: 100%;
  min-height: 66px;
  border: 1px solid #D8E1EB;
  border-radius: 14px;
  background: var(--white);
  padding: 0 18px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 122, 76, 0.10);
}

input::placeholder {
  color: #7B8794;
}

.primary-btn {
  border: none;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(198, 40, 40, 0.20);
}

.primary-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(198, 40, 40, 0.24);
}

.primary-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.answer-btn:active,
.primary-btn:active,
.hero-cta:active {
  transform: scale(0.985);
}

.privacy-note {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 620px;
}

.success {
  display: none;
  text-align: center;
  padding: 20px 0 10px;
}

.success-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(31, 122, 76, 0.10);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  margin: 0 auto 18px;
}

.success h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.success p {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 46px;
  }

  .step h2 {
    font-size: 38px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 8px 0;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text span {
    font-size: 13px;
  }

  .main-nav {
    display: none;
  }

  .hero-section {
    padding: 42px 0 30px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.6;
  }

  .hero-cta {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
  }

  .hero-trust {
    gap: 10px;
  }

  .hero-trust span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .quiz-section {
    padding: 8px 0 50px;
  }

  .quiz-shell {
    border-radius: 20px;
    padding: 18px;
  }

  .quiz-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .step-tag {
    margin-bottom: 16px;
  }

  .step h2 {
    font-size: 31px;
  }

  .step-text {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .answer-btn,
  .primary-btn {
    min-height: 64px;
    font-size: 20px;
    border-radius: 14px;
  }

  input {
    min-height: 58px;
    font-size: 16px;
  }

  .success h2 {
    font-size: 30px;
  }

  .success p {
    font-size: 16px;
  }
}