@import url("./components.css");

body { padding-bottom: 4.8rem; }
.bora-header { position: sticky; top: 0; }
.bora-header__inner { min-height: 4.25rem; }
.bora-header .bora-button { min-height: 2.75rem; padding: .55rem .75rem; box-shadow: 3px 3px 0 #111; }

.plan-hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.5rem;
  border-bottom: 3px solid #111;
  background: var(--bora-color-primary);
  color: #fff;
}

.plan-hero::before {
  content: "PLANO";
  position: absolute;
  right: -2rem;
  bottom: -.12em;
  color: rgb(255 255 255 / .08);
  font: 900 clamp(7rem, 28vw, 20rem)/.7 var(--bora-font-display);
  transform: rotate(-5deg);
}

.plan-hero__grid { position: relative; display: grid; gap: 2rem; align-items: end; }
.plan-hero h1 { max-width: 10ch; margin: 1.1rem 0; font-size: clamp(3.25rem, 16vw, 7rem); text-transform: uppercase; }
.plan-hero h1 em { display: inline-block; padding: .04em .12em .1em; border-radius: .12em; background: var(--bora-color-accent); color: #111; font-style: normal; transform: rotate(-1deg); }
.plan-hero .bora-lead { max-width: 39rem; color: rgb(255 255 255 / .9); }
.plan-hero__promises { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.plan-hero__promises span { padding: .38rem .65rem; border: 2px solid #111; border-radius: 999px; background: #fff; color: #111; font-size: .76rem; font-weight: 900; box-shadow: 3px 3px 0 #111; }

.plan-guide {
  position: relative;
  display: grid;
  min-height: 21rem;
  align-items: end;
  padding: 1rem 1rem 0;
  border: 3px solid #111;
  border-radius: 46% 54% 12% 12%;
  background: var(--bora-color-accent);
  box-shadow: 9px 9px 0 #111;
}

.plan-guide img { width: min(100%, 22rem); max-height: 24rem; margin: 0 auto; object-fit: contain; object-position: bottom; }
.plan-guide .bora-speech { position: absolute; z-index: 2; top: .8rem; right: .7rem; width: min(15rem, 68%); padding: .85rem; font-size: .86rem; }

.plan-main { padding: 2.5rem 0 4.5rem; }
.plan-intro { max-width: 48rem; margin-bottom: 1.5rem; }
.plan-intro h2 { max-width: 12ch; margin: .9rem 0 .8rem; text-transform: uppercase; }
.plan-intro p { color: var(--bora-color-muted); font-weight: 650; }

.plan-form {
  position: relative;
  max-width: 58rem;
  padding: 1rem;
  border: 3px solid #111;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 9px 9px 0 #111;
}

.plan-progress { display: none; margin-bottom: 1.35rem; }
.bora-js .plan-progress { display: grid; }
.plan-progress .bora-progress__value { transition: width var(--bora-transition); }

.plan-step { min-width: 0; margin: 0; padding: 1rem 0 0; border: 0; }
.plan-step + .plan-step { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 3px dashed #111; }
.bora-js .plan-step + .plan-step { margin-top: 0; padding-top: 1rem; border-top: 0; }
.plan-step[hidden] { display: none; }
.plan-step legend { width: 100%; margin-bottom: .65rem; font-family: var(--bora-font-display); font-size: clamp(1.75rem, 8vw, 3.35rem); line-height: .98; letter-spacing: -.04em; }
.plan-step__number { display: block; margin-bottom: .5rem; color: var(--bora-color-primary); font: 900 .78rem/1 var(--bora-font-body); letter-spacing: .08em; text-transform: uppercase; }
.plan-step__help { max-width: 42rem; margin: 0 0 1.25rem; color: var(--bora-color-muted); font-size: .94rem; font-weight: 650; }

.plan-choices { display: grid; gap: .8rem; }
.plan-choice { display: block; position: relative; }
.plan-choice input { position: absolute; opacity: 0; pointer-events: none; }
.plan-choice__surface {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  min-height: 5.8rem;
  align-items: center;
  padding: .9rem;
  border: 3px solid #111;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 5px 5px 0 #111;
  cursor: pointer;
  transition: transform var(--bora-transition), box-shadow var(--bora-transition), background var(--bora-transition);
}
.plan-choice__icon { display: grid; width: 2.8rem; aspect-ratio: 1; place-items: center; border: 2px solid #111; border-radius: .8rem; background: var(--bora-color-accent); font-size: 1.25rem; }
.plan-choice strong { display: block; font-size: .97rem; line-height: 1.2; }
.plan-choice small { display: block; margin-top: .24rem; color: var(--bora-color-muted); font-size: .78rem; line-height: 1.35; }
.plan-choice input:checked + .plan-choice__surface { background: var(--bora-color-positive); transform: translate(3px, 3px); box-shadow: 2px 2px 0 #111; }
.plan-choice input:checked + .plan-choice__surface .plan-choice__icon { background: var(--bora-color-accent); }
.plan-choice input:focus-visible + .plan-choice__surface { outline: 3px solid var(--bora-color-focus); outline-offset: 4px; }

.plan-step-actions { display: none; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }
.plan-step--result .plan-step-actions { display: flex; }
.bora-js .plan-step-actions { display: flex; }
.plan-step-actions .bora-button { width: 100%; }
.plan-back { background: #fff; color: #111; box-shadow: 4px 4px 0 #111; }
.plan-error { min-height: 1.5rem; margin: .85rem 0 0; color: var(--bora-color-danger); font-size: .82rem; font-weight: 850; }

.plan-result {
  overflow: hidden;
  position: relative;
  margin-bottom: 1.4rem;
  padding: 1.2rem;
  border: 3px solid #111;
  border-radius: 1.25rem;
  background: var(--bora-color-accent);
  box-shadow: 6px 6px 0 #111;
}
.plan-result::after { content: "→"; position: absolute; right: -.02em; bottom: -.34em; color: rgb(17 17 17 / .09); font: 900 8rem/1 var(--bora-font-display); transform: rotate(-8deg); }
.plan-result > * { position: relative; z-index: 1; }
.plan-result h2 { max-width: 14ch; margin: .55rem 0 .75rem; font-size: clamp(2rem, 9vw, 3.7rem); text-transform: uppercase; }
.plan-result p { max-width: 42rem; font-weight: 700; }
.plan-result ul { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.plan-result li { position: relative; padding-left: 1.6rem; font-weight: 750; }
.plan-result li::before { content: "✓"; position: absolute; left: 0; font-weight: 950; }
.plan-result__app { display: inline-flex; margin-top: 1rem; font-weight: 950; }
.plan-result__app[hidden] { display: none; }

.plan-contact { display: grid; gap: 1rem; }
.plan-contact .bora-field input { font-size: 1rem; }
.plan-consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; margin-top: 1rem; font-size: .78rem; line-height: 1.45; }
.plan-consent input { width: 1.25rem; height: 1.25rem; margin-top: .12rem; accent-color: var(--bora-color-positive); }
.plan-submit { width: 100%; margin-top: 1.15rem; background: var(--bora-color-positive); color: #111; }
.plan-legal { margin: 1rem 0 0; color: var(--bora-color-muted); font-size: .74rem; line-height: 1.45; }
.plan-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.plan-assurance { display: grid; gap: .75rem; max-width: 58rem; margin-top: 1.4rem; }
.plan-assurance div { padding: 1rem; border: 3px solid #111; border-radius: 1rem; background: var(--bora-color-accent); box-shadow: 4px 4px 0 #111; }
.plan-assurance strong { display: block; margin-bottom: .2rem; }
.plan-assurance span { color: var(--bora-color-muted); font-size: .8rem; line-height: 1.4; }

.plan-footer { padding: 2rem 0 6rem; border-top: 3px solid #111; background: #fff; }
.plan-footer__grid { display: grid; gap: 1.5rem; }
.plan-footer p { margin-bottom: .35rem; }
.plan-footer a { font-weight: 800; }

.plan-mobile-cta { position: fixed; z-index: var(--bora-z-floating); right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem; border-top: 3px solid #111; background: #fff; }
.plan-mobile-cta .bora-button { min-height: 3.3rem; padding: .55rem; box-shadow: 3px 3px 0 #111; font-size: .8rem; }

.plan-thanks { min-height: calc(100vh - 7rem); padding: 3rem 0 5rem; background: var(--bora-color-accent); }
.plan-thanks__card { display: grid; gap: 1.5rem; padding: 1.35rem; border: 3px solid #111; border-radius: 1.5rem; background: #fff; box-shadow: 9px 9px 0 #111; }
.plan-thanks__mark { display: grid; width: 4rem; aspect-ratio: 1; place-items: center; border: 3px solid #111; border-radius: 50%; background: var(--bora-color-positive); font: 900 2rem/1 var(--bora-font-display); box-shadow: 4px 4px 0 #111; }
.plan-thanks h1 { max-width: 10ch; margin: 0; font-size: clamp(3rem, 14vw, 6.2rem); text-transform: uppercase; }
.plan-thanks__lead { max-width: 40rem; font-size: 1.1rem; font-weight: 700; }
.plan-thanks__steps { display: grid; gap: .7rem; padding: 0; list-style: none; counter-reset: thanks; }
.plan-thanks__steps li { counter-increment: thanks; padding: .85rem; border: 3px solid #111; border-radius: .8rem; background: var(--bora-color-background); font-weight: 750; }
.plan-thanks__steps li::before { content: "0" counter(thanks) " "; font-family: var(--bora-font-display); }

@media (min-width: 42rem) {
  body { padding-bottom: 0; }
  .plan-hero { padding: 4rem 0; }
  .plan-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); }
  .plan-form { padding: 1.5rem; }
  .plan-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-step-actions .bora-button { width: auto; }
  .plan-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-contact .bora-field:last-child { grid-column: 1 / -1; }
  .plan-assurance { grid-template-columns: repeat(3, 1fr); }
  .plan-footer__grid { grid-template-columns: 1.4fr 1fr; }
  .plan-footer { padding-bottom: 2rem; }
  .plan-mobile-cta { display: none; }
  .plan-thanks__card { padding: 2.5rem; }
}

@media (min-width: 64rem) {
  .plan-main { padding: 4rem 0 6rem; }
  .plan-form { padding: 2rem; }
  .plan-guide { min-height: 27rem; }
  .plan-guide img { max-height: 30rem; }
}
