/* Sortudão Afiliados
   Mesmo layout da LP Chute Parceiros (uma dobra: promessa e "como funciona" à esquerda,
   formulário à direita com o mascote sentado no card), com a identidade do Sortudão:
   verde do site (#029C09 → #01BC25) e do logo (#0BA334), amarelo do logo (#FFD301),
   azul das peças de campanha (#0B42AD), Oswald nos títulos e Montserrat no texto. */
:root {
  --green: #0BA334;
  --green-hi: #01BC25;
  --green-mid: #029C09;
  --green-deep: #046841;
  --green-night: #023B24;
  --yellow: #FFD301;
  --blue: #0B42AD;
  --blue-deep: #08307F;
  --ink: #10261A;
  --paper: #FFFFFF;
  --field-line: #DCE5DA;
  --mute-ink: #5C6E63;
  --error: #D92D3A;

  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--green-deep);
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
a, button, label { -webkit-tap-highlight-color: transparent; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.load { animation: up .9s var(--ease) both; animation-delay: var(--d, 0s); }

.pill {
  position: relative; overflow: hidden; align-self: flex-start;
  font: 800 13px/1 var(--body); letter-spacing: 1.6px; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px;
  /* mesmo ouro do título */
  background: linear-gradient(180deg, #FFF6B8 0%, #FFE34A 40%, #FFCC00 62%, #E2A200 100%); color: #5A3D00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(150, 100, 0, .35), 0 3px 0 #9A6C00, 0 10px 18px -6px rgba(0, 0, 0, .35);
}
.pill::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: pill-shine 10s ease-in-out 1.4s infinite;
}
@keyframes pill-shine { 0% { left: -40%; } 60%, 100% { left: 130%; } }

/* ---------- stage + fundo ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; flex: 1; }
/* rodapé sempre no pé da tela, mesmo em monitor alto */
body { display: flex; flex-direction: column; min-height: 100svh; }
.bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green-mid) 55%, var(--green-hi) 100%);
}
.bg__glow { position: absolute; inset: 0; background: radial-gradient(460px circle at var(--sx, 74%) var(--sy, 40%), rgba(255, 211, 1, .16), transparent 60%); }
/* trevos subindo do pé ao topo da página, com cores, tamanhos e velocidades diferentes */
.bg__leaves i {
  position: absolute; top: 100%; left: var(--x); width: var(--s); height: var(--s);
  background: var(--c, rgba(255, 255, 255, .3)); opacity: 0; filter: var(--f, none);
  -webkit-mask: var(--clover) center/contain no-repeat; mask: var(--clover) center/contain no-repeat;
  animation: rise var(--t) linear var(--w) infinite;
}
@keyframes rise {
  0% { top: 100%; transform: translateX(0) rotate(0deg); opacity: 0; }
  8% { opacity: var(--o, 1); }
  30% { transform: translateX(18px) rotate(90deg); }
  60% { transform: translateX(-14px) rotate(190deg); }
  90% { opacity: var(--o, 1); }
  100% { top: -8%; transform: translateX(8px) rotate(300deg); opacity: 0; }
}
.bg__leaves i:nth-child(1) { --x: 3%; --s: 16px; --t: 18s; --w: -2s; --c: rgba(255,255,255,.35); }
.bg__leaves i:nth-child(2) { --x: 9%; --s: 34px; --t: 26s; --w: -12s; --c: linear-gradient(160deg,#FFF3A0,#FFC800 55%,#D99400); }
.bg__leaves i:nth-child(3) { --x: 15%; --s: 12px; --t: 15s; --w: -6s; --c: #7CF29A; --o:.6;}
.bg__leaves i:nth-child(4) { --x: 21%; --s: 24px; --t: 22s; --w: -17s; --c: rgba(255,255,255,.3); }
.bg__leaves i:nth-child(5) { --x: 27%; --s: 44px; --t: 32s; --w: -8s; --c: rgba(255,211,1,.35); --f:blur(2px);}
.bg__leaves i:nth-child(6) { --x: 33%; --s: 14px; --t: 17s; --w: -1s; --c: linear-gradient(160deg,#FFF3A0,#FFC800 55%,#D99400); }
.bg__leaves i:nth-child(7) { --x: 39%; --s: 20px; --t: 21s; --w: -14s; --c: #7CF29A; --o:.5;}
.bg__leaves i:nth-child(8) { --x: 45%; --s: 30px; --t: 27s; --w: -4s; --c: rgba(255,255,255,.28); }
.bg__leaves i:nth-child(9) { --x: 51%; --s: 12px; --t: 16s; --w: -10s; --c: #FFD301; }
.bg__leaves i:nth-child(10) { --x: 57%; --s: 38px; --t: 30s; --w: -21s; --c: rgba(255,255,255,.2); --f:blur(3px);}
.bg__leaves i:nth-child(11) { --x: 63%; --s: 18px; --t: 19s; --w: -7s; --c: linear-gradient(160deg,#FFF3A0,#FFC800 55%,#D99400); }
.bg__leaves i:nth-child(12) { --x: 69%; --s: 26px; --t: 24s; --w: -15s; --c: #7CF29A; --o:.55;}
.bg__leaves i:nth-child(13) { --x: 75%; --s: 14px; --t: 16s; --w: -3s; --c: rgba(255,255,255,.4); }
.bg__leaves i:nth-child(14) { --x: 81%; --s: 36px; --t: 29s; --w: -19s; --c: linear-gradient(160deg,#FFF3A0,#FFC800 55%,#D99400); }
.bg__leaves i:nth-child(15) { --x: 87%; --s: 20px; --t: 20s; --w: -11s; --c: #FFD301; --o:.8;}
.bg__leaves i:nth-child(16) { --x: 93%; --s: 28px; --t: 25s; --w: -5s; --c: rgba(255,255,255,.3); }
.bg__leaves i:nth-child(17) { --x: 97%; --s: 12px; --t: 15s; --w: -13s; --c: #7CF29A; --o:.6;}
.bg__leaves i:nth-child(18) { --x: 48%; --s: 22px; --t: 23s; --w: -20s; --c: #FFD301; --o:.7;}

:root { --clover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg id='l'%3E%3Cpath d='M32 30C19 24 15 12 22 7.5c4-2.5 9-.5 10 4.5 1-5 6-7 10-4.5C49 12 45 24 32 30Z'/%3E%3C/g%3E%3Cuse href='%23l' transform='rotate(90 32 32)'/%3E%3Cuse href='%23l' transform='rotate(180 32 32)'/%3E%3Cuse href='%23l' transform='rotate(270 32 32)'/%3E%3C/svg%3E"); }

/* ---------- nav ---------- */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.nav__logo img { height: clamp(40px, 4.4vw, 54px); width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.pill--nav { display: none; }

/* ---------- hero ---------- */
/* desktop: promessa + "como funciona" à esquerda, formulário à direita, tudo centralizado na altura da tela */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  column-gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(16px, 2vw, 28px) clamp(40px, 5vw, 64px);
}
/* coluna da esquerda centralizada na altura do formulário, sem buraco entre o logo e a etiqueta */
.hero__left { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero__head { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero__title {
  font: 900 clamp(40px, 4.1vw, 60px)/1.08 var(--body); letter-spacing: -1px; text-transform: uppercase; color: #fff;
}
.hero__title .line { display: block; }
.line--3d {
  /* respiro em cima para os acentos (Ê, Ã) não serem cortados pelo recorte do texto */
  padding: .16em .04em .08em; margin: -.16em -.04em 0;
  /* o degradê se repete a cada linha (1.08em), então "Você com" e "comissão." têm o mesmo ouro */
  background:
    linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat,
    linear-gradient(180deg, #FFE066 0%, #FFF8BE 18%, #FFF0A0 30%, #FFE34A 44%, #FFCC00 58%, #E2A200 76%, #F2B600 86%, #FFE066 100%) 0 .16em / 100% 1.08em repeat-y;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* contorno claro (#gold-rim no index.html) + volume em camadas + sombra */
  filter: url(#gold-rim) drop-shadow(0 1px 0 #C98F00) drop-shadow(0 1px 0 #B27E00) drop-shadow(0 1px 0 #9A6C00) drop-shadow(0 1px 0 #835B00) drop-shadow(0 2px 0 #6A4900) drop-shadow(0 12px 14px rgba(0, 0, 0, .35));
  animation: up .9s var(--ease) both, gold-shine 10s ease-in-out 1.4s infinite;
  animation-delay: var(--d, 0s), 1.4s;
}
@keyframes gold-shine { 0% { background-position: 160% 0, 0 .16em; } 60%, 100% { background-position: -60% 0, 0 .16em; } }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: #E3F6E7; max-width: 30em; }
.hero__lead b { color: var(--yellow); }

/* "Como funciona": faixa horizontal com os três passos */
.steps {
  padding: 18px 20px 20px;
  background: rgba(2, 59, 36, .35); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px;
  backdrop-filter: blur(4px);
}
.steps__title { margin: 0 0 14px; text-align: center; font: 800 12px/1 var(--body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--yellow); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps__list li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-weight: 500; font-size: 14.5px; line-height: 1.4; color: #E3F6E7; }
.steps__list b { display: block; color: #fff; font-weight: 800; }
.steps__list p { margin: 0; }
.steps__list span {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .3); color: #fff;
  font: 700 19px/1 var(--display);
}
/* linha tracejada ligando os números */
.steps__list li:not(:last-child)::before {
  content: ""; position: absolute; top: 17px; left: calc(50% + 26px); right: calc(-50% + 10px);
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, .35) 0 5px, transparent 5px 10px); height: 2px;
}
.steps__list li:last-child span { background: linear-gradient(180deg, #FFF3A0, #FFCC00 55%, #D99A00); color: #6A4900; border-color: #FFE066; box-shadow: 0 3px 0 #9A6C00; }

/* coluna do formulário */
.hero__form { position: relative; padding-top: 52px; }
.mascot {
  position: absolute; z-index: 3; right: -88px; top: -66px; width: 210px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .4));
  transform-origin: 50% 90%;
  animation: pop-in .9s var(--bounce) .5s both, bob 4s ease-in-out 1.4s infinite;
}
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.hero__form.is-done .mascot { animation: cheer .9s var(--bounce) 2, bob 4s ease-in-out 1.8s infinite; }
@keyframes cheer { 30% { transform: translateY(-40px) rotate(-12deg) scale(1.08); } 60% { transform: translateY(-8px) rotate(8deg); } }

.card {
  position: relative; z-index: 1;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--green-night); border-radius: 28px;
  box-shadow: 12px 12px 0 var(--yellow), 0 40px 90px rgba(0, 0, 0, .35);
  padding: 22px 24px;
}

/* ---------- formulário ---------- */
.form { display: flex; flex-direction: column; gap: 11px; }
.form__head { display: flex; flex-direction: column; gap: 2px; }
.form__head .form__title { padding-right: 104px; }
.form__title { font: 700 clamp(26px, 2vw, 29px)/1 var(--display); text-transform: uppercase; color: var(--green-deep); }
/* etapas do formulário */
.progress { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; color: #9AA89F; }
.progress li { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.progress li + li::before { content: ""; width: 22px; height: 2px; margin-right: 4px; background: var(--field-line); border-radius: 2px; transition: background .3s; }
.progress span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--field-line); color: #fff; font-size: 11px; transition: background .3s; }
.progress li.is-on { color: var(--green-deep); }
.progress li.is-on span { background: var(--green); }
.progress li.is-done span { background: var(--yellow); color: #5A3D00; }
.progress li.is-on::before { background: var(--green); }
.step { display: flex; flex-direction: column; gap: inherit; animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.step[data-step="1"].is-back { animation-name: step-back; }
@keyframes step-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.tipos--fat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tipos--fat label:last-child { grid-column: 1 / -1; }
.step__actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.step__actions .btn--block { margin-top: 0; }
.step__back {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--field-line); background: var(--paper); color: var(--green-deep); cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease);
}
.step__back:hover { border-color: var(--green); transform: translateX(-2px); }
.step__back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label { font-size: 14px; font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 10px 14px; border-radius: 12px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--field-line); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #A0ACA4; }
.field input:focus { border-color: var(--green); box-shadow: 4px 4px 0 var(--yellow); }
.field.has-error input { border-color: var(--error); }
.field__err { font-size: 13px; font-weight: 600; color: var(--error); }
.field__err:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.tipos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tipos label { position: relative; cursor: pointer; }
.tipos input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tipos span {
  display: grid; place-items: center; height: 100%; min-height: 44px; text-align: center; padding: 6px 4px; border-radius: 12px;
  background: var(--paper); border: 2px solid var(--field-line);
  font-size: 13px; font-weight: 700; line-height: 1.15;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--bounce);
}
.tipos label:hover span { border-color: var(--green); }
.tipos input:checked + span { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.03); }
.tipos input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field.has-error .tipos span { border-color: color-mix(in srgb, var(--error) 55%, var(--field-line)); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--mute-ink); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 2px solid var(--green-deep); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 3px 3px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .25s var(--bounce); }
.check input:checked { background: var(--green); border-color: var(--green); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.field.has-error .check input { border-color: var(--error); }
.terms-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* ---------- termos ---------- */
.terms {
  width: min(560px, calc(100% - 32px)); max-height: min(80vh, 720px); padding: 0;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--green-night); border-radius: 24px; box-shadow: 10px 10px 0 var(--yellow);
  overflow: hidden;
}
.terms[open] { display: flex; animation: pop-in .35s var(--bounce); }
.terms::backdrop { background: rgba(2, 59, 36, .7); backdrop-filter: blur(4px); }
.terms__inner { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.terms__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 12px; }
.terms__title { font: 700 30px/1 var(--display); text-transform: uppercase; color: var(--green-deep); }
.terms__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--green-deep); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.terms__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.terms__body { overflow-y: auto; padding: 4px 24px 8px; font-size: 15px; line-height: 1.6; color: #3A4A40; min-height: 0; }
.terms__body h3 { margin: 18px 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.terms__body p { margin: 0; }
.terms__date { margin-top: 18px !important; font-size: 13px; color: var(--mute-ink); }
.terms__foot { padding: 16px 24px 22px; border-top: 1px solid var(--field-line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 22px/1 var(--display); letter-spacing: .6px; text-transform: uppercase;
  padding: 16px 28px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, var(--green-hi), var(--green-mid)); color: #fff;
  cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 5px 5px 0 var(--blue);
  transition: box-shadow .2s var(--ease), translate .2s var(--ease), opacity .2s;
}
.btn svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 8px 8px 0 var(--blue); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 2px 2px 0 var(--blue); }
.btn--block { width: 100%; margin-top: 4px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; font-weight: 600; color: var(--error); text-align: center; }
.form__status:empty { display: none; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 36px 8px 28px; outline: none; animation: pop-in .6s var(--bounce); }
.done .form__title { padding: 0; font-size: clamp(28px, 2.6vw, 34px); }
.done p { max-width: 30ch; color: var(--mute-ink); }
.done b { color: var(--ink); }
.done__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 6px 6px 0 var(--yellow); }
.done__badge svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ---------- rodapé ---------- */
.footer { background: var(--green-night); padding-block: 28px; color: #B7D3C1; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: center; gap: 10px 32px; flex-wrap: wrap; text-align: center; }
.footer__by { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; }
.footer__by span { white-space: nowrap; }
.footer__by img { height: 24px; width: auto; flex: none; }
.footer__legal { display: flex; align-items: center; gap: 10px; }
.age {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 2px solid var(--yellow); border-radius: 50%;
  font: 700 13px/1 var(--display); color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .bg__leaves { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- responsivo (no fim para valer sobre as regras do formulário) ---------- */
/* celular (principal): topo enxuto para o formulário aparecer sem rolar */
@media (max-width: 719px), (max-width: 900px) and (orientation: portrait) {
  .nav__inner { padding-block: 10px 2px; }
  .nav__logo img { height: 34px; }
  .pill--nav { display: inline-block; align-self: center; white-space: nowrap; font-size: 10px; letter-spacing: 1px; padding: 7px 11px; }
  .hero__head .pill { display: none; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "steps"; row-gap: 10px; align-items: start; padding-block: 16px 40px; justify-items: center; }
  .hero__left { display: contents; }
  .hero__head { grid-area: head; }
  .hero__form { grid-area: form; }
  .steps { grid-area: steps; }
  .hero__head, .hero__form, .steps { width: 100%; max-width: 520px; }
  .hero__head { gap: 10px; }
  .hero__title { font-size: clamp(24px, 7.2vw, 36px); line-height: 1.04; letter-spacing: -.5px; }
  .hero__lead { font-size: 15px; line-height: 1.45; }

  .hero__form { padding-top: 34px; }
  .mascot { right: -10px; top: -28px; width: 140px; }
  .card { padding: 14px 16px 12px; border-radius: 22px; box-shadow: 8px 8px 0 var(--yellow), 0 24px 50px rgba(0, 0, 0, .3); }
  .form { gap: 8px; }
  .form__head .form__title { font-size: 21px; padding-right: 0; white-space: nowrap; }
  .field { gap: 4px; }
  .field > label, legend { font-size: 13px; }
  .field input[type="text"], .field input[type="email"], .field input[type="tel"] { padding: 8px 12px; }
  .tipos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .tipos--fat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__back { width: 48px; height: 48px; }
  .tipos span { min-height: 36px; font-size: 11.5px; padding: 4px 2px; border-radius: 10px; }
  .check { font-size: 13px; gap: 10px; }
  .btn--block { padding-block: 14px; font-size: 20px; }

  .steps { margin-top: 18px; padding: 16px 14px; }
  .steps__list { gap: 10px; }
  .steps__list li { font-size: 12.5px; gap: 8px; }
  .steps__list span { width: 32px; height: 32px; font-size: 17px; }
  .steps__list li:not(:last-child)::before { top: 15px; left: calc(50% + 22px); right: calc(-50% + 12px); }
}
@media (max-width: 360px) {
  .hero__title { font-size: 25px; }
  .form__head .form__title { font-size: 25px; padding-right: 84px; }
  .mascot { width: 100px; }
  .pill--nav { font-size: 9.5px; padding: 6px 10px; }
}
/* celular deitado: lado a lado com formulário mais estreito */
@media (max-width: 900px) and (orientation: landscape) and (min-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 32px; }
  .hero__title { font-size: 36px; }
  .mascot { width: 150px; right: -16px; }
  .form__head .form__title { padding-right: 110px; }
}

/* rodapé no celular: frase numa linha, logo da Aplicap embaixo */
@media (max-width: 719px) {
  .footer { padding-block: 22px 26px; font-size: 12.5px; }
  .footer__inner { flex-direction: column; gap: 14px; }
  .footer__by { flex-direction: column; gap: 8px; }
  .footer__by img { height: 22px; }
  .footer__legal { font-size: 12px; text-align: left; line-height: 1.45; }
  .footer__legal-txt span { display: block; }
  .footer__legal-txt i { display: none; }
}
