/* LP Jacque Medeiros
   Tokens extraídos do Figma (LP-Jacque Medeiros, frame Desktop - 1, 1440px)
   Fontes do arquivo: Inter (corpo) e Source Serif Pro (títulos) */

:root {
  --bg: #F6F4F2;
  --white: #FFFFFF;
  --green: #4F523E;
  --green-card: #6B6E59;
  --footer: #50533E;
  --brown: #754626;
  --text: #4A4A48;
  --text-dark: #3D3D3B;
  --heading: #52514E;
  --muted: #7A7A78;
  --num: #B3B3B3;
  --line: #DDDDDD;
  --line-soft: #D8D3CA;
  --card-border: #C2C2C2;
  --btn-light: #EDEDED;
  --btn-light-border: #B5B5B5;
  --btn-outline: #E3E3E3;
  --btn-outline-border: #838383;
  --input-border: #D3D3D3;
  --placeholder: #9A9A9A;
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografia base ---------- */

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  text-transform: uppercase;
  color: var(--heading);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn--green {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.btn--green:hover { background: #454833; border-color: #454833; }

.btn--light {
  background: var(--btn-light);
  border-color: var(--btn-light-border);
  color: #5A5A58;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 4px;
}
.btn--light:hover { background: #E2E2E2; }

.btn--outline {
  background: var(--btn-outline);
  border-color: var(--btn-outline-border);
  color: #4A4A48;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.btn--outline:hover { background: #D8D8D8; }

.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 538px;
  overflow: hidden;
  background: #ECE6E1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 135px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4B4A47;
  max-width: 560px;
}

.hero__text {
  margin-top: 21px;
  max-width: 507px;
  font-size: 18px;
  line-height: 24.75px;
  color: #3F3F3D;
}

.btn--hero {
  margin-top: 28px;
  min-width: 345px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 6px;
}

.btn__arrow { flex: 0 0 auto; }

.hero__note {
  margin-top: 11px;
  font-size: 12px;
  line-height: 17px;
  font-style: italic;
  color: #4A4A48;
}

/* ---------- Benefícios ---------- */

.features { padding: 90px 0 0; }

.features__grid {
  display: grid;
  grid-template-columns: 397px 364px 1fr;
  gap: 0;
}

.feature {
  position: relative;
  padding: 12px 24px 12px 75px;
}
.feature:nth-child(2) { padding-left: 57px; }
.feature:nth-child(3) { padding-left: 39px; }
.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.feature__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  text-transform: uppercase;
  color: #5A5A58;
}

.feature__text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 18px;
  color: #4A4A48;
  max-width: 281px;
}

/* ---------- Planos ---------- */

.plans { padding: 68px 0 113px; }

.plans__grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.plan {
  position: relative;
  height: 503px;
  padding: 29px 24px 40px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #4A4A48;
}

.plan--dark {
  background: var(--green-card);
  border-color: var(--green-card);
  color: var(--white);
}

.plan__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}

.plan__from {
  margin-top: 6px;
  font-size: 12px;
  line-height: 15px;
}

.plan__price {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 29px;
}
.plan__price--empty { min-height: 29px; }

.plan__desc {
  margin-top: 8px;
  max-width: 210px;
  font-size: 11px;
  line-height: 13px;
}

.plan__plus {
  margin-top: 17px;
  width: 100%;
  max-width: 218px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
}

.plan__list {
  width: 100%;
  max-width: 218px;
  text-align: left;
  font-size: 11px;
  line-height: 24px;
  margin-top: 41px;
  margin-bottom: 24px;
}
.plan__plus + .plan__list { margin-top: 1px; }

.plan__list li {
  position: relative;
  padding-left: 20px;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11.5px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M1 4.5 4.2 7.7 11 1' stroke='%233D3D3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan--dark .plan__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M1 4.5 4.2 7.7 11 1' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan__btn {
  margin-top: auto;
  width: 182px;
  height: 35px;
  padding: 0 12px;
}

/* ---------- Ainda não sabe / Diagnóstico ---------- */

.help {
  background: var(--white);
  min-height: 394px;
  display: grid;
  grid-template-columns: 420px 1fr;
}

.help__img {
  width: 420px;
  height: 394px;
  object-fit: cover;
}

.help__inner {
  display: grid;
  grid-template-columns: 309px 1px 1fr;
  column-gap: 0;
  padding: 59px 0 36px 75px;
  max-width: 1020px;
}

.help__col--quiz { max-width: 252px; }

.help__lead {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 27.6px;
  color: #3F3F3D;
}

.help__btn {
  margin-top: 34px;
  width: 252px;
  height: 33px;
}

.help__note {
  margin-top: 15px;
  font-size: 11px;
  line-height: 17px;
  color: #4A4A48;
}

.help__divider {
  background: var(--line-soft);
  margin-top: -22px;
  height: 321px;
  align-self: start;
}

.help__col--diag {
  padding-left: 56px;
  max-width: 500px;
}

.help__diag-text {
  margin-top: 16px;
  max-width: 300px;
  font-size: 13px;
  line-height: 15px;
  color: #3F3F3D;
}

.help__podemos {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #3F3F3D;
}

.help__diag-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 206px 1fr;
  column-gap: 19px;
}

.check-list li {
  position: relative;
  padding-left: 19px;
  font-size: 12px;
  line-height: 32px;
  color: #3F3F3D;
  white-space: nowrap;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 11.5px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M1 4.5 4.2 7.7 11 1' stroke='%233D3D3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.help__price {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 23px;
  color: #3F3F3D;
}

.help__price-note {
  margin-top: 10px;
  max-width: 175px;
  font-size: 12px;
  line-height: 15px;
  color: #3F3F3D;
}

.help__diag-btn {
  margin-top: 23px;
  width: 193px;
  height: 33px;
}

/* ---------- Como funciona ---------- */

.how { padding: 64px 0 88px; }

.how__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1112px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 24px 4px;
  min-height: 246px;
}
.step + .step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 245px;
  width: 1px;
  background: var(--line);
}

.step__num {
  font-size: 22px;
  font-weight: 700;
  line-height: 29px;
  color: var(--num);
}

.step__icon {
  height: 56px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-card);
}

.step__title {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  text-transform: uppercase;
  color: #5A5A58;
  max-width: 202px;
  margin-left: auto;
  margin-right: auto;
}

.step__text {
  margin-top: 14px;
  font-size: 13px;
  line-height: 21px;
  color: #4A4A48;
  max-width: 190px;
  margin-left: auto;
  margin-right: auto;
}
.step:last-child .step__text { max-width: 202px; }

/* ---------- Formulário ---------- */

.contact { padding: 0 0 64px; }
.contact .form-card[hidden], .contact .quiz[hidden], .contact .form-success[hidden] { display: none; }

.form-card {
  width: 100%;
  max-width: 774px;
  margin: 0 auto;
  padding: 24px;
  background: var(--white);
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.field + .field { margin-top: 20px; }

.field label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #3F3F3D;
  margin-bottom: 8px;
}

.field input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: #3F3F3D;
  background: var(--white);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s ease;
}
.field input::placeholder { color: var(--placeholder); }
.field input:focus { border-color: var(--green); }
.field input.is-invalid { border-color: #B54848; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-card__btn {
  margin-top: 24px;
  width: 100%;
  height: 40px;
  font-size: 14px;
}

.form-error {
  margin-top: 16px;
  font-size: 13px;
  color: #B54848;
}

.form-success {
  padding: 40px 24px;
  text-align: center;
}
.form-success__title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--green);
}
.form-success__text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 19px;
  color: #3F3F3D;
}

.privacy {
  margin: 13px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 200px;
  font-size: 9px;
  line-height: 11px;
  color: #3F3F3D;
}
.privacy svg { flex: 0 0 auto; color: var(--brown); margin-top: 1px; }
.privacy span { max-width: 156px; }

/* ---------- Informações importantes ---------- */

.info {
  background: var(--white);
  padding: 50px 0 51px;
}

.info__grid {
  margin-top: 43px;
  display: grid;
  grid-template-columns: 300px 260px 292px;
  justify-content: space-between;
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
}

.info__icon {
  height: 55px;
  display: flex;
  align-items: flex-start;
  color: var(--brown);
}

.info__title {
  margin-top: 27px;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  text-transform: uppercase;
  color: #5A5A58;
}

.info__text {
  margin-top: 2px;
  font-size: 13px;
  line-height: 20px;
  color: #3F3F3D;
}
.info__text + .info__text { margin-top: 20px; }
.info__text--strong { font-weight: 500; }

.info__lists {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 147px 1fr;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 20px;
  color: #3F3F3D;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3F3F3D;
}

.info__lists + .info__text { margin-top: 10px; max-width: 285px; }

/* ---------- Galeria ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: var(--white);
}

.gallery img {
  width: 100%;
  height: 257px;
  object-fit: cover;
}

/* ---------- CTA final ---------- */

.final {
  padding: 55px 0 80px;
  text-align: center;
}

.final__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
}

.final__text {
  margin: 15px auto 0;
  max-width: 579px;
  font-size: 14px;
  line-height: 18.5px;
  color: #3F3F3D;
}

.final__actions {
  margin-top: 31px;
  display: flex;
  justify-content: center;
  gap: 39px;
  flex-wrap: wrap;
}

.final__btn {
  width: 252px;
  height: 33px;
}

/* ---------- Footer ---------- */

.footer {
  height: 76px;
  background: var(--footer);
}

/* ---------- Perguntas (frame "Forms" do Figma: cards de 774px, um por vez, no lugar do formulário) ---------- */

.quiz {
  width: 100%;
  max-width: 774px;
  margin: 0 auto;
}

.quiz__card {
  display: none;
  background: var(--white);
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  padding: 19px 24px 24px;
}
.quiz__card.is-active { display: block; }

.quiz__question {
  padding-left: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #3F3F3D;
}

.quiz__input {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 8px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: #3F3F3D;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  outline: none;
}
.quiz__input:focus { border-color: var(--green); }
.quiz__input + .quiz__next { margin-top: 27px; }

.quiz__options {
  margin-top: 24px;
  padding-left: 8px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 22px;
  font-size: 16px;
  line-height: 22px;
  color: #3F3F3D;
  cursor: pointer;
}
.radio + .radio { margin-top: 10px; }
.quiz__options + .quiz__next { margin-top: 28px; }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio__dot {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EDEDED;
  border: 1px solid #DADADA;
  position: relative;
  transition: background-color .15s ease, border-color .15s ease;
}
.radio input:checked + .radio__dot {
  background: var(--green);
  border-color: var(--green);
}
.radio input:checked + .radio__dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--white);
}
.radio input:focus-visible + .radio__dot { outline: 2px solid var(--green); outline-offset: 2px; }

.quiz__next {
  width: 100%;
  height: 40px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.quiz__error {
  margin-top: 12px;
  padding-left: 8px;
  font-size: 13px;
  color: #B54848;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1240px) {
  .features__grid { grid-template-columns: 1fr 1fr 1fr; }
  .feature, .feature:nth-child(2), .feature:nth-child(3) { padding-left: 32px; padding-right: 24px; }
  .help { grid-template-columns: 360px 1fr; }
  .help__img { width: 360px; }
  .help__inner { padding-left: 40px; grid-template-columns: 280px 1px 1fr; }
  .help__col--diag { padding-left: 32px; }
  .info__grid { grid-template-columns: repeat(3, 1fr); column-gap: 32px; padding-left: 0; }
}

@media (max-width: 1024px) {
  .plans__grid { grid-template-columns: repeat(2, 1fr); }
  .plan { height: auto; min-height: 503px; }
  .help { grid-template-columns: 1fr; }
  .help__img { width: 100%; height: 320px; }
  .help__inner { grid-template-columns: 1fr; padding: 48px 24px 40px; max-width: none; }
  .help__divider { width: 100%; height: 1px; margin: 36px 0; }
  .help__col--quiz { max-width: none; }
  .help__col--diag { padding-left: 0; max-width: none; }
  .how__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(3)::before { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img:nth-child(4), .gallery img:nth-child(5) { display: none; }
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 520px; }
  .hero__bg { object-position: 62% center; }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246,244,242,.92) 0%, rgba(246,244,242,.75) 55%, rgba(246,244,242,.35) 100%);
  }
  .hero__content { padding-top: 88px; padding-bottom: 56px; }
  .hero__title { font-size: 26px; line-height: 36px; }
  .hero__text { font-size: 16px; line-height: 24px; }
  .btn--hero { width: 100%; max-width: 345px; font-size: 13px; }
  .features { padding-top: 56px; }
  .features__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .feature { padding: 0; }
  .feature + .feature::before { display: none; }
  .plans { padding: 56px 0 72px; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan { padding-bottom: 32px; min-height: 0; }
  .plan__list { margin-bottom: 32px; }
  .section-title { font-size: 19px; line-height: 27px; }
  .help__diag-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .check-list li { white-space: normal; }
  .how { padding: 56px 0 64px; }
  .how__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .step { min-height: 0; padding: 0; }
  .step::before { display: none !important; }
  .contact { padding-bottom: 64px; }
  .info { padding: 48px 0; }
  .info__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery img { height: 200px; }
  .gallery img:nth-child(4) { display: block; }
  .final { padding: 48px 0 64px; }
  .final__title { font-size: 24px; line-height: 32px; }
  .final__actions { gap: 16px; }
  .final__btn { width: 100%; max-width: 345px; }
  .quiz__card { padding: 16px 16px 20px; }
  .radio { font-size: 15px; }
}
