/* MÉTODO: one promise, one form, one useful next step. */
.metodo-page .download-hero {
  padding: 56px 0 64px;
}

.download-hero .download-layout {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 480px);
  align-items: start;
  gap: clamp(40px, 5.5vw, 80px);
}

.download-hero .download-copy {
  width: 100%;
  max-width: 560px;
  min-width: 0;
}

.download-copy .eyebrow {
  margin: 0 0 20px;
  color: var(--muted-dark, #bebeb7);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.download-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 4.5vw, 62px);
  line-height: 1.06;
}

.download-copy .download-description {
  max-width: 42ch;
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.55;
}

.download-copy .resource-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.gp-guide-preview {
  margin-top: 28px;
  border-top: 1px solid var(--line-dark, #454540);
  border-bottom: 1px solid var(--line-dark, #454540);
}

.gp-guide-preview > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 16px 0;
  list-style: none;
  color: var(--paper, #f5f4ef);
  cursor: pointer;
}

.gp-guide-preview > summary::-webkit-details-marker {
  display: none;
}

.gp-guide-preview > summary::marker {
  content: '';
}

.gp-guide-preview .gp-preview-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-dark, #bebeb7);
  font-size: 12px;
  line-height: 1.4;
}

.gp-guide-preview summary strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.gp-preview-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark, #454540);
  color: var(--accent, #ff7835);
  font-size: 26px;
  line-height: 1;
  transition: transform .18s ease, border-color .18s ease;
}

.gp-guide-preview > summary:hover .gp-preview-toggle {
  border-color: var(--accent, #ff7835);
}

.gp-guide-preview[open] .gp-preview-toggle {
  transform: rotate(45deg);
}

.gp-preview-body {
  padding: 24px;
  margin-bottom: 20px;
  background: var(--paper, #f5f4ef);
  color: var(--ink, #161616);
}

.download-copy .gp-preview-body p {
  max-width: none;
  margin: 0 0 16px;
  color: var(--ink, #161616);
  font-size: 15px;
  line-height: 1.5;
}

.download-copy .gp-preview-body .gp-preview-kicker {
  color: var(--muted, #51514c);
  font-size: 12px;
}

.gp-preview-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 20px;
}

.gp-preview-comparison > div {
  min-width: 0;
  border-top: 2px solid var(--ink, #161616);
  padding-top: 10px;
}

.gp-preview-comparison > div:last-child {
  border-color: var(--accent-text, #b9440a);
}

.gp-preview-comparison dt {
  margin-bottom: 8px;
  color: var(--muted, #51514c);
  font-size: 12px;
  font-weight: 600;
}

.gp-preview-comparison dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.download-copy .gp-preview-body .gp-preview-prompt {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line, #b7b7b0);
  font-size: 14px;
}

.gp-preview-prompt strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

#receber-guia {
  --fluentform-primary: #161616;
  --fluentform-secondary: #161616;
  --fluentform-danger: #b9440a;
  --fluentform-border-color: #777770;
  --fluentform-border-radius: 0;
  --fluentform-input-select-height: 52px;
  min-width: 0;
  margin: 0;
  padding: 28px;
  background: var(--paper, #f5f4ef);
  color: var(--ink, #161616);
  color-scheme: light;
  border: 0;
  border-top: 4px solid var(--accent, #ff7835);
  border-radius: 0;
  box-shadow: none;
  scroll-margin-top: 32px;
  overflow-wrap: break-word;
}

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

#receber-guia h2 {
  max-width: 16ch;
  margin: 0 0 10px;
  color: var(--ink, #161616);
  font: 700 30px/1.08 var(--font, 'Inter Tight', Arial, sans-serif);
  letter-spacing: -.01em;
}

#receber-guia p {
  max-width: none;
  color: var(--muted, #51514c);
  font: 400 15px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .gp-signup-intro {
  margin: 0 0 22px;
  font-size: 15px;
}

#receber-guia .fluentform,
#receber-guia form {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink, #161616);
  font: 400 16px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .ff-el-group {
  min-width: 0;
  margin: 0 0 20px;
}

#receber-guia .ff-el-input--label {
  display: block;
  margin: 0 0 7px;
  padding: 0;
}

#receber-guia .ff-el-input--label label {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--ink, #161616);
  font: 600 15px/1.4 var(--font, 'Inter Tight', Arial, sans-serif);
}

/* Fluent Forms supplies aria-required; the visual marker is also explicit. */
#receber-guia .ff-el-input--label.ff-el-is-required label::before {
  content: none;
}

#receber-guia .ff-el-input--label.ff-el-is-required label::after {
  content: ' (obrigatório)';
  margin: 0;
  color: var(--muted, #51514c);
  font-size: 13px;
  font-weight: 400;
}

#receber-guia .ff-el-form-control {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 13px;
  background: #fff;
  background-clip: padding-box;
  color: var(--ink, #161616);
  border: 1px solid #777770;
  border-radius: 0;
  box-shadow: none;
  font: 400 16px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
  transition: border-color .15s ease, background-color .15s ease;
}

#receber-guia select.ff-el-form-control {
  height: 52px;
  padding-right: 30px;
  appearance: auto;
}

#receber-guia .ff-el-form-control::placeholder {
  color: #64645d;
  opacity: 1;
}

#receber-guia .ff-el-form-control:hover:not(:disabled):not(:focus) {
  border-color: var(--ink, #161616);
}

#receber-guia .ff-el-form-control:focus {
  border-color: var(--ink, #161616);
  background: #fff;
  color: var(--ink, #161616);
  outline: 2px solid var(--accent-text, #b9440a);
  outline-offset: 3px;
  box-shadow: none;
}

#receber-guia :is(input, select, textarea, button, a, summary):focus-visible {
  outline: 2px solid var(--accent-text, #b9440a);
  outline-offset: 3px;
  box-shadow: none;
}

#receber-guia .ff-el-form-control:disabled,
#receber-guia .ff-el-form-control[readonly] {
  background: #eae9e2;
  color: var(--muted, #51514c);
  opacity: 1;
}

#receber-guia .ff-el-form-check {
  margin: 0;
  padding: 0;
}

#receber-guia .ff-el-form-check label.ff-el-form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 7px 0;
  color: var(--ink, #161616);
  cursor: pointer;
  font: 400 14px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .ff-el-form-check-label .ff-el-form-check-input {
  position: static;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  padding: 0;
  appearance: auto;
  accent-color: var(--ink, #161616);
  cursor: pointer;
}

#receber-guia .ff-el-form-check-label > span {
  min-width: 0;
}

#receber-guia .ff-el-help-message,
#receber-guia .ff-el-input--content .ff-el-help-message {
  margin: 7px 0 0;
  color: var(--muted, #51514c);
  font: 400 13px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .ff-el-is-error .ff-el-form-control,
#receber-guia .ff-el-form-control[aria-invalid='true'] {
  border: 2px solid var(--accent-text, #b9440a);
}

#receber-guia .error.text-danger,
#receber-guia .ff-el-is-error .text-danger,
#receber-guia .ff-errors-in-stack {
  margin: 9px 0 0;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 3px solid var(--accent-text, #b9440a);
  background: transparent;
  color: var(--accent-text, #b9440a);
  box-shadow: none;
  font: 600 13px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .ff-errors-in-stack ul {
  margin: 0;
  padding-left: 18px;
}

#receber-guia .ff-btn-submit,
#receber-guia .gp-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--accent, #ff7835);
  border-radius: 0;
  background: var(--accent, #ff7835);
  color: var(--ink, #161616);
  box-shadow: none;
  cursor: pointer;
  font: 600 16px/1.35 var(--font, 'Inter Tight', Arial, sans-serif);
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color .15s ease, border-color .15s ease;
}

#receber-guia .ff-btn-submit:hover:not(:disabled),
#receber-guia .gp-download-link:hover {
  border-color: #ff8b51;
  background: #ff8b51;
  color: var(--ink, #161616);
  box-shadow: none;
  text-decoration: none;
}

#receber-guia .ff-btn-submit:disabled,
#receber-guia .ff-btn-submit[aria-disabled='true'] {
  border-color: #b7b7b0;
  background: #d8d7cf;
  color: var(--muted, #51514c);
  cursor: wait;
  opacity: 1;
}

#receber-guia .ff-message-success {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink, #161616);
  box-shadow: none;
  font: 400 16px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .ff-message-success p {
  margin: 0 0 16px;
  color: var(--ink, #161616);
  font-size: 16px;
}

#receber-guia .gp-signup-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

#receber-guia .gp-data-note {
  margin-top: 16px;
  padding-top: 6px;
  border-top: 1px solid var(--line, #b7b7b0);
}

#receber-guia .gp-data-note summary {
  min-height: 44px;
  padding: 12px 0;
  color: var(--ink, #161616);
  cursor: pointer;
  font: 600 13px/1.5 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .gp-data-note summary::marker {
  color: var(--accent-text, #b9440a);
}

#receber-guia .gp-data-note p {
  margin: 0 0 10px;
  font-size: 13px;
}

#receber-guia .gp-data-note a,
#receber-guia .ff-el-form-check-label a {
  color: var(--accent-text, #b9440a);
  text-decoration: underline;
  text-underline-offset: .16em;
}

/* The optional profile stays separate from newsletter consent. */
#receber-guia .gp-profile-details {
  margin: 0 0 18px;
  border-top: 1px solid var(--line, #b7b7b0);
  border-bottom: 1px solid var(--line, #b7b7b0);
}

#receber-guia .gp-profile-details > summary {
  min-height: 44px;
  padding: 12px 0;
  color: var(--ink, #161616);
  cursor: pointer;
  font: 600 14px/1.45 var(--font, 'Inter Tight', Arial, sans-serif);
}

#receber-guia .gp-profile-details > summary::marker {
  color: var(--accent-text, #b9440a);
}

#receber-guia .gp-profile-details .ff-el-group {
  margin: 0;
  padding: 6px 0 18px;
}

#receber-guia .gp-first-challenge {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #b7b7b0);
}

#receber-guia .gp-first-challenge h3 {
  margin: 0 0 10px;
  color: var(--ink, #161616);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

#receber-guia .gp-first-challenge p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}

#receber-guia .gp-first-challenge .gp-offer-prompt {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent-text, #b9440a);
  background: #eae9e2;
  color: var(--ink, #161616);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .download-hero .download-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .metodo-page .download-hero {
    padding: 40px 0 56px;
  }

  .download-hero .download-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
    gap: 28px;
  }

  .download-hero .download-copy {
    grid-row: auto;
    max-width: none;
  }

  .download-copy h1 {
    max-width: 15ch;
    font-size: 48px;
  }
}

@media (max-width: 620px) {
  .metodo-page .download-hero {
    padding: 24px 0 40px;
  }

  .download-hero .download-layout {
    gap: 24px;
  }

  .download-copy .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .download-copy h1 {
    margin-bottom: 18px;
    font-size: 44px;
  }

  .download-copy .download-description {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .gp-guide-preview {
    margin-top: 22px;
  }

  .gp-guide-preview > summary {
    min-height: 72px;
    padding: 12px 0;
  }

  .gp-guide-preview summary strong {
    font-size: 18px;
  }

  .gp-preview-body {
    padding: 18px;
    margin-bottom: 14px;
  }

  .gp-preview-comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  #receber-guia {
    padding: 24px 20px;
    scroll-margin-top: 20px;
  }

  #receber-guia h2 {
    font-size: 26px;
  }

  #receber-guia .gp-signup-intro {
    margin-bottom: 20px;
    font-size: 15px;
  }

  #receber-guia .ff-el-group {
    margin-bottom: 18px;
  }

  #receber-guia .gp-profile-details .ff-el-group {
    margin-bottom: 0;
  }

  #receber-guia .ff-btn-submit,
  #receber-guia .gp-download-link {
    padding-inline: 12px;
    font-size: 15px;
  }

  #receber-guia .gp-first-challenge h3 {
    font-size: 21px;
  }
}

@media (max-width: 370px) {
  .download-copy h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-preview-toggle,
  #receber-guia *,
  #receber-guia *::before,
  #receber-guia *::after {
    transition: none;
    animation: none;
    scroll-behavior: auto;
  }
}
