/* Golden Minas — calculadora modular integrada ao site */
.gm-calculator-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 6%,
      rgba(228, 179, 75, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #0b1011, #050606);
}
.gm-calculator-noscript {
  max-width: 860px;
  margin: 0 auto;
  padding: 18px;
  color: #fff0c6;
  border: 1px solid rgba(228, 179, 75, 0.34);
  border-radius: 12px;
  background: rgba(228, 179, 75, 0.08);
  text-align: center;
}
[data-gm-calc] {
  --gm-bg: #090d0e;
  --gm-panel: #111718;
  --gm-panel-2: #171e20;
  --gm-line: rgba(228, 179, 75, 0.25);
  --gm-gold: #e4b34b;
  --gm-gold-light: #ffe7a4;
  --gm-text: #f7f1e5;
  --gm-muted: rgba(247, 241, 229, 0.7);
  --gm-danger: #ffce83;
  color: var(--gm-text);
  font-family: var(--font, Inter, Arial, sans-serif);
}
[data-gm-calc] * {
  box-sizing: border-box;
}
[data-gm-calc] button,
[data-gm-calc] input,
[data-gm-calc] select,
[data-gm-calc] a {
  font: inherit;
}
[data-gm-calc] [hidden] {
  display: none !important;
}
.gm-calc__head {
  margin-bottom: 24px;
  text-align: center;
}
.gm-calc__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gm-gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gm-calc__kicker::before,
.gm-calc__kicker::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.gm-calc__title {
  margin: 13px 0 8px;
  color: var(--gm-text);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.07;
}
.gm-calc__sub {
  max-width: 710px;
  margin: 0 auto;
  color: var(--gm-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.gm-calc__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  max-width: 720px;
  margin: 28px auto 0;
}
.gm-calc__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 37px;
  padding: 7px;
  color: rgba(247, 241, 229, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
}
.gm-calc__bar span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
}
.gm-calc__bar.is-active {
  color: #2b1c03;
  border-color: var(--gm-gold);
  background: linear-gradient(135deg, #ffe6a0, var(--gm-gold));
}
.gm-calc__steplabel {
  margin-top: 11px;
  color: var(--gm-muted);
  font-size: 0.75rem;
}
.gm-calc__alert {
  max-width: 800px;
  margin: 0 auto 18px;
  padding: 12px 15px;
  color: #fff0cf;
  border: 1px solid rgba(255, 202, 118, 0.5);
  border-left: 4px solid var(--gm-gold);
  border-radius: 9px;
  background: rgba(188, 116, 20, 0.14);
  font-size: 0.85rem;
}
.gm-calc__form {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--gm-line);
  border-radius: 19px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}
.gm-calc__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.gm-calc__step:not(.is-active) {
  display: none;
}
.gm-step-title {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  color: var(--gm-text);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  font-weight: 700;
}
.gm-field {
  margin-top: 22px;
}
.gm-field:first-of-type {
  margin-top: 0;
}
.gm-field > label {
  display: block;
  margin-bottom: 9px;
  color: var(--gm-muted);
  font-size: 0.81rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}
.gm-optional {
  font-weight: 500;
  letter-spacing: 0;
}
.gm-options {
  display: grid;
  gap: 10px;
}
.gm-options--2 {
  grid-template-columns: repeat(2, 1fr);
}
.gm-options--3 {
  grid-template-columns: repeat(3, 1fr);
}
.gm-options--4 {
  grid-template-columns: repeat(4, 1fr);
}
.gm-options--dest {
  /* 5 opções: 3 na primeira linha e 2 centralizadas abaixo (flex wrap) */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.gm-options--dest > * {
  flex: 0 0 calc((100% - 20px) / 3);
}
.gm-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}
.gm-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gm-option__card {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  color: var(--gm-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.gm-option:hover .gm-option__card {
  transform: translateY(-1px);
  border-color: rgba(228, 179, 75, 0.55);
}
.gm-option input:checked + .gm-option__card {
  color: var(--gm-gold-light);
  border-color: var(--gm-gold);
  background: rgba(228, 179, 75, 0.12);
  box-shadow: inset 0 0 0 1px rgba(228, 179, 75, 0.1);
}
.gm-option input:focus-visible + .gm-option__card {
  outline: 3px solid var(--gm-gold-light);
  outline-offset: 3px;
}
.gm-option__icon {
  flex: 0 0 auto;
  color: var(--gm-gold-light);
}
.gm-option__icon svg {
  width: 22px;
  height: 22px;
}
.gm-option__label {
  overflow-wrap: anywhere;
}
.gm-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.gm-field input,
.gm-field select,
.gm-send input {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  color: var(--gm-text);
  border: 1px solid rgba(255, 231, 164, 0.26);
  border-radius: 9px;
  background: #0b1112;
  outline: 0;
  font-size: 0.92rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  color-scheme: dark;
}
.gm-field input:focus,
.gm-field select:focus,
.gm-send input:focus {
  border-color: var(--gm-gold);
  box-shadow: 0 0 0 3px rgba(228, 179, 75, 0.18);
  background: #101819;
}
.gm-field input[aria-invalid="true"],
.gm-field select[aria-invalid="true"] {
  border-color: #ffce83;
  box-shadow: 0 0 0 3px rgba(255, 206, 131, 0.16);
}
.gm-field input::placeholder,
.gm-send input::placeholder {
  color: rgba(247, 241, 229, 0.37);
}
.gm-field select option {
  color: #f7f1e5;
  background: #111718;
}
.gm-hint {
  margin: 8px 0 0;
  color: var(--gm-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}
.gm-lead-capture {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(228, 179, 75, 0.3);
  border-radius: 13px;
  background: rgba(228, 179, 75, 0.055);
}
.gm-lead-capture--initial {
  margin-top: 0;
  margin-bottom: 28px;
}
.gm-lead-capture h3 {
  margin: 0;
  color: var(--gm-gold-light);
  font-family: var(--display, Georgia, serif);
  font-size: 1.25rem;
}
.gm-lead-capture > p {
  margin: 6px 0 2px;
  color: var(--gm-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.gm-lead-capture .gm-field {
  margin-top: 16px;
}
.gm-calc-consent {
  display: block;
  margin-top: 16px;
  color: var(--gm-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  cursor: pointer;
}
.gm-calc-consent input {
  width: 16px;
  height: 16px;
  margin: 0 7px 0 0;
  vertical-align: -3px;
  accent-color: var(--gm-gold);
}
.gm-calc-consent a {
  color: var(--gm-gold-light);
  font-weight: 800;
}
.gm-calc-consent input:focus-visible {
  outline: 3px solid var(--gm-gold-light);
  outline-offset: 3px;
}
.gm-calculation-status {
  min-height: 1.25em;
  margin: 10px 0 0;
  color: var(--gm-gold-light);
  font-size: 0.75rem;
  text-align: right;
}
.gm-calc__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 29px;
}
.gm-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  color: #271a03;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe49b, var(--gm-gold) 60%, #c78618);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}
.gm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 23px rgba(191, 126, 17, 0.26);
}
.gm-btn:disabled,
.gm-btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.68;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.gm-btn[aria-busy="true"] {
  cursor: wait;
}
.gm-btn--primary {
  margin-left: auto;
}
.gm-btn--ghost {
  color: var(--gm-text);
  border-color: rgba(255, 231, 164, 0.38);
  background: transparent;
}
.gm-btn--ghost:hover {
  color: #281a03;
  border-color: var(--gm-gold);
  background: var(--gm-gold);
}
.gm-calc__result {
  max-width: 940px;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(228, 179, 75, 0.48);
  border-radius: 19px;
  background: linear-gradient(
    145deg,
    rgba(228, 179, 75, 0.13),
    rgba(12, 18, 19, 0.88) 42%
  );
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.26);
}
.gm-result__head {
  padding: 24px clamp(20px, 4vw, 34px) 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
.gm-result__head > span {
  color: var(--gm-gold-light);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.gm-result__head h3 {
  margin: 5px 0 0;
  color: var(--gm-text);
  font-family: var(--display, Georgia, serif);
  font-size: 1.8rem;
}
.gm-result__obra {
  padding: 13px clamp(20px, 4vw, 34px);
  color: var(--gm-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}
.gm-result__obra strong {
  color: var(--gm-gold-light);
}
.gm-result__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: clamp(19px, 3vw, 28px);
}
.gm-metric {
  display: flex;
  min-height: 135px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
.gm-metric span {
  color: var(--gm-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gm-metric strong {
  color: var(--gm-text);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.1;
}
.gm-metric small {
  color: rgba(247, 241, 229, 0.5);
  font-size: 0.72rem;
}
.gm-metric--pos strong,
.gm-metric--highlight strong {
  color: var(--gm-gold-light);
}
.gm-metric--highlight {
  border-color: var(--gm-gold);
  background: linear-gradient(
    135deg,
    rgba(228, 179, 75, 0.19),
    rgba(228, 179, 75, 0.05)
  );
}
.gm-result__range {
  margin: -8px 28px 18px;
  color: var(--gm-muted);
  font-size: 0.76rem;
  text-align: center;
}
.gm-how {
  margin: 0 clamp(20px, 3vw, 28px) 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
}
.gm-how summary {
  padding: 14px 16px;
  color: var(--gm-text);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}
.gm-how > div {
  padding: 0 16px 12px;
}
.gm-how__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--gm-muted);
  font-size: 0.79rem;
}
.gm-how__row strong {
  color: var(--gm-text);
  text-align: right;
}
.gm-result__warnings {
  margin: 0 clamp(20px, 3vw, 28px) 18px;
  padding: 14px 16px;
  color: var(--gm-muted);
  border: 1px solid rgba(255, 206, 131, 0.32);
  border-radius: 10px;
  background: rgba(188, 116, 20, 0.1);
  font-size: 0.78rem;
  line-height: 1.55;
}
.gm-result__warnings > strong {
  color: #fff0cf;
  font-size: 0.8rem;
}
.gm-result__warnings ul {
  margin: 8px 0 0;
  padding-left: 19px;
}
.gm-result__warnings li + li {
  margin-top: 5px;
}
.gm-legal {
  margin: 0 clamp(20px, 3vw, 28px) 18px;
  padding: 13px;
  color: var(--gm-muted);
  border-left: 3px solid var(--gm-gold);
  background: rgba(228, 179, 75, 0.06);
  font-size: 0.75rem;
  line-height: 1.58;
}
.gm-send {
  padding: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.12);
}
.gm-send__text {
  margin: 0 0 12px;
  color: var(--gm-text);
  font-size: 0.88rem;
  font-weight: 700;
}
.gm-send__label {
  display: block;
  margin-bottom: 6px;
  color: var(--gm-muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.gm-btn--gold-whatsapp {
  width: 100%;
  margin-top: 11px;
}
.gm-btn--gold-whatsapp svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.gm-summary {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(228, 179, 75, 0.21);
  border-radius: 10px;
  background: rgba(228, 179, 75, 0.06);
}
.gm-summary__title {
  margin-bottom: 6px;
  color: var(--gm-gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gm-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--gm-muted);
  font-size: 0.76rem;
}
.gm-summary__row strong {
  color: var(--gm-text);
  text-align: right;
}
.gm-lead-status {
  margin: 10px 0 0;
  color: var(--gm-gold-light);
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
}
.gm-lead-status.is-error {
  color: #fff0cf;
}
.gm-calc__reset {
  display: block;
  margin: 0 auto 25px;
  padding: 10px;
  color: var(--gm-muted);
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  text-decoration: underline;
}
.gm-calc__reset:hover {
  color: var(--gm-gold-light);
}
@media (max-width: 720px) {
  .gm-calc__form {
    padding: 21px 16px;
    border-radius: 14px;
  }
  .gm-options--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gm-result__grid {
    grid-template-columns: 1fr;
  }
  .gm-metric {
    min-height: 108px;
  }
}
@media (max-width: 520px) {
  .gm-calc__progress {
    gap: 5px;
  }
  .gm-calc__bar {
    gap: 5px;
    padding: 6px 4px;
    font-size: 0.61rem;
  }
  .gm-calc__bar span {
    width: 18px;
    height: 18px;
  }
  .gm-options--2,
  .gm-options--3,
  .gm-grid2 {
    grid-template-columns: 1fr;
  }
  .gm-options--4 {
    grid-template-columns: 1fr 1fr;
  }
  .gm-options--dest > * {
    flex: 0 0 calc((100% - 10px) / 2);
  }
  .gm-option__card {
    min-height: 48px;
    font-size: 0.75rem;
  }
  .gm-calc__actions {
    flex-direction: column-reverse;
  }
  .gm-calc__actions .gm-btn {
    width: 100%;
  }
  .gm-btn--primary {
    margin-left: 0;
  }
  .gm-result__head h3 {
    font-size: 1.55rem;
  }
  .gm-how__row,
  .gm-summary__row {
    gap: 8px;
  }
  .gm-how__row strong,
  .gm-summary__row strong {
    max-width: 57%;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-gm-calc] *,
  [data-gm-calc] *::before,
  [data-gm-calc] *::after {
    transition: none !important;
  }
}

/* Resumo financeiro da obra + pedreiros + detalhamento mensal */
.gm-financas,
.gm-pedreiros,
.gm-mensal {
  margin: 0 clamp(20px, 3vw, 28px) 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}
.gm-financas__title,
.gm-pedreiros__head strong,
.gm-mensal__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gm-text);
  font-size: 0.95rem;
  font-weight: 800;
}
.gm-mensal__title svg {
  width: 17px;
  height: 17px;
  color: var(--gm-gold-light);
}
.gm-financas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 4px;
}
.gm-financas__card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.gm-financas__card span {
  color: var(--gm-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.gm-financas__card strong {
  color: var(--gm-text);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
}
.gm-financas__card small {
  color: rgba(247, 241, 229, 0.5);
  font-size: 0.68rem;
}
.gm-financas__card--eco {
  border-color: rgba(103, 181, 90, 0.55);
  background: linear-gradient(
    135deg,
    rgba(103, 181, 90, 0.16),
    rgba(103, 181, 90, 0.04)
  );
}
.gm-financas__card--eco strong {
  color: #a8e697;
}
.gm-how__row.gm-strike span {
  text-decoration: line-through;
  opacity: 0.75;
}
.gm-how__row.gm-strong-gold strong {
  color: var(--gm-gold-light);
  font-size: 0.92em;
}
.gm-pedreiros__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.gm-pedreiros__head p {
  margin-top: 4px;
}
.gm-pedreiros__add {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.72rem;
}
.gm-pedreiro-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 38px;
  gap: 8px;
  margin-top: 10px;
}
.gm-pedreiro-row input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--gm-text);
  border: 1px solid rgba(255, 231, 164, 0.26);
  border-radius: 8px;
  background: #0b1112;
  font-size: 0.86rem;
  color-scheme: dark;
}
.gm-pedreiro-row input:focus {
  border-color: var(--gm-gold);
  box-shadow: 0 0 0 3px rgba(228, 179, 75, 0.18);
  outline: 0;
}
.gm-pedreiro-remove {
  min-height: 42px;
  color: var(--gm-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
}
.gm-pedreiro-remove:hover {
  color: #ffb4a0;
  border-color: rgba(255, 180, 160, 0.5);
}
.gm-mensal__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.gm-mensal__card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(228, 179, 75, 0.28);
  border-radius: 10px;
  background: rgba(228, 179, 75, 0.06);
}
.gm-mensal__card span {
  color: var(--gm-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.gm-mensal__card strong {
  color: var(--gm-gold-light);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.gm-mensal__card small {
  color: rgba(247, 241, 229, 0.55);
  font-size: 0.68rem;
}
.gm-mensal__head span:last-child {
  color: var(--gm-muted);
}
@media (max-width: 720px) {
  .gm-financas__grid {
    grid-template-columns: 1fr;
  }
  .gm-mensal__cards {
    grid-template-columns: 1fr;
  }
  .gm-pedreiro-row {
    grid-template-columns: 1fr 1fr 34px;
  }
}

/* Revisão responsiva 2026.09.12.15 */
[data-gm-calc],
.gm-calc__form,
.gm-calc__step,
.gm-calc__result,
.gm-calc__progress,
.gm-calc__bar,
.gm-grid2,
.gm-options,
.gm-result__grid,
.gm-result__item,
.gm-field,
.gm-field label {
  min-width: 0;
  max-width: 100%;
}

.gm-field input,
.gm-field select,
.gm-field textarea,
.gm-btn {
  min-width: 0;
  max-width: 100%;
}

.gm-result__label,
.gm-result__value,
.gm-calc__notice,
.gm-alert,
.gm-result__disclaimer {
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .gm-calculator-section .container {
    width: min(100% - 24px, var(--container));
  }

  .gm-calc__progress {
    gap: 4px;
  }

  .gm-calc__bar {
    padding-inline: 3px;
    font-size: 0.62rem;
    overflow-wrap: anywhere;
  }

  .gm-calc__panel,
  .gm-result__item {
    padding-inline: 14px;
  }

  .gm-btn,
  .gm-btn--lg {
    height: auto;
    min-height: 48px;
    padding-inline: 14px;
    line-height: 1.25;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .gm-calculator-section .container {
    width: min(100% - 16px, var(--container));
  }

  .gm-calc__panel,
  .gm-result__item {
    padding-inline: 10px;
  }
}

/* Resultado público contextualizado — apresentação 2026.09.12.15 */
.gm-result__intro {
  padding: clamp(22px, 4vw, 34px) clamp(18px, 4vw, 34px) 8px;
  text-align: center;
}
.gm-result__eyebrow {
  color: var(--gm-gold-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gm-result__intro h2 {
  max-width: 720px;
  margin: 8px auto 0;
  color: var(--gm-text);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.08;
}
.gm-result__intro p {
  max-width: 700px;
  margin: 12px auto 0;
  color: var(--gm-muted);
  font-size: 0.84rem;
  line-height: 1.62;
}
.gm-result__explanation {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  margin: 0 clamp(18px, 3vw, 28px) 18px;
  padding: 17px;
  color: var(--gm-muted);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
}
.gm-result__context-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #2b1c02;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe8a1, #d59928);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
}
.gm-result__explanation h3,
.gm-result__next h3 {
  color: var(--gm-text);
  font-family: var(--font, Inter, sans-serif);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.gm-result__explanation p,
.gm-result__next p {
  margin-top: 6px;
  color: var(--gm-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.gm-result__explanation ul {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding-left: 18px;
}
.gm-result__explanation li {
  list-style: disc;
  font-size: 0.76rem;
  line-height: 1.55;
}
.gm-result__next {
  margin-top: 4px;
  padding: clamp(22px, 4vw, 32px) clamp(18px, 4vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}
.gm-result__next h3 {
  margin-top: 7px;
  font-size: clamp(1.12rem, 3vw, 1.4rem);
}
.gm-result__next p {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}
.gm-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 17px;
}
.gm-result__actions .gm-btn {
  min-height: 50px;
  flex: 1 1 250px;
  margin-top: 0;
}
.gm-btn--secondary {
  color: var(--gm-text);
  border-color: rgba(255, 231, 164, 0.45);
  background: rgba(255, 255, 255, 0.035);
}
.gm-btn--secondary:hover {
  color: #281a03;
  border-color: var(--gm-gold);
  background: var(--gm-gold);
}
.gm-result__next + .gm-calc__reset {
  min-height: 44px;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .gm-result__intro {
    padding-inline: 15px;
  }
  .gm-result__grid {
    padding-inline: 12px;
  }
  .gm-result__explanation {
    grid-template-columns: 1fr;
    margin-inline: 12px;
    padding: 15px;
  }
  .gm-result__actions {
    display: grid;
  }
  .gm-result__actions .gm-btn {
    width: 100%;
  }
}
.gm-result__actions .gm-btn--gold-whatsapp {
  width: auto;
}
@media (max-width: 520px) {
  .gm-result__actions .gm-btn--gold-whatsapp {
    width: 100%;
  }
}
#gmResult,
[data-gm-calc] {
  scroll-margin-top: 164px;
}
@media (max-width: 620px) {
  #gmResult,
  [data-gm-calc] {
    scroll-margin-top: 160px;
  }
}
