/* Entrar e criar conta: painel de marca (verde + dourado) e formulário limpo */
body.au { background: #fff; font-size: 16px; }
.au-grid { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(380px, 46%) minmax(0, 1fr); }
.au-brand { position: relative; overflow: hidden; background: #075e54; color: #fff; padding: 36px clamp(28px, 4vw, 64px); display: flex; flex-direction: column; gap: 28px; isolation: isolate; }
.au-c1 { position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%; background: #0a6f62; left: -140px; bottom: -200px; }
.au-c2 { position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: #f6b31b; right: -90px; top: -90px; }
.au-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: #fff; }
.au-logo img { width: 40px; height: 40px; border-radius: 10px; }
.au-pitch h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin: 12px 0 0; }
.au-pitch h2 span { display: block; } .au-pitch h2 em { font-style: normal; color: #f6b31b; }
.au-pitch p { color: #cfeae3; font-size: 17px; line-height: 1.5; max-width: 34ch; margin: 16px 0 0; }
.au-chat { display: grid; gap: 10px; max-width: 360px; margin-top: auto; }
.au-chat .b { max-width: 88%; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: #111b21; box-shadow: 3px 3px 0 rgba(0,0,0,.18); opacity: 0; }
.au-chat .b.in { background: #fff; justify-self: start; border-top-left-radius: 2px; } .au-chat .b.out { background: #d9fdd3; justify-self: end; border-top-right-radius: 2px; }
.au-chat .ph { display: grid; gap: 4px; width: 120px; background: #f4f1e8; border: 1px solid #e3dcc8; border-radius: 6px; padding: 9px; margin-bottom: 6px; } .au-chat .ph i { display: block; height: 4px; border-radius: 2px; background: #cfc8b4; } .au-chat .ph i:nth-child(2) { width: 70%; background: #b7791f; } .au-chat .ph i:nth-child(3) { width: 45%; }
.au-chat .n { display: flex; align-items: center; gap: 11px; background: #fff; color: #0d1520; border-radius: 12px; padding: 10px 14px; box-shadow: 3px 3px 0 rgba(0,0,0,.18); opacity: 0; width: fit-content; }
.au-chat .n i { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); flex: none; position: relative; } .au-chat .n i::after { content: ""; position: absolute; inset: 8px; background: #b7791f; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.au-chat .n { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M4 22V4M4 4h13l-2 4 2 4H4'/%3E%3C/svg%3E"); }
.au-chat .n.ok { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); } .au-chat .n.ok i { background: var(--ok-bg); } .au-chat .n.ok i::after { background: var(--ok); }
.au-chat .n b { display: block; font-size: 13.5px; } .au-chat .n span { display: block; font-size: 12px; color: #55606f; }
.au-chat .a1 { animation: c1 11s infinite; } .au-chat .a2 { animation: c2 11s infinite; } .au-chat .a3 { animation: c3 11s infinite; } .au-chat .a4 { animation: c4 11s infinite; }
@keyframes c1 { 0%, 4% { opacity: 0; transform: translateY(10px); } 9%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes c2 { 0%, 22% { opacity: 0; transform: translateY(10px); } 28%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes c3 { 0%, 40% { opacity: 0; transform: translateX(-16px); } 46%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes c4 { 0%, 56% { opacity: 0; transform: translateX(-16px); } 62%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.au-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: #cfeae3; font-size: 14.5px; }
.au-points li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: #f6b31b; margin-right: 11px; } .au-points b { color: #fff; }
.au-side { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 28px; }
.au-back { position: absolute; top: 24px; left: clamp(20px, 3vw, 40px); color: var(--muted); font-weight: 600; font-size: 14.5px; }
.au-back:hover { color: var(--text); }
.au-card { width: min(400px, 100%); }
.au-card.wide { width: min(560px, 100%); }
.au-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.au-sub { color: var(--muted); margin: 8px 0 22px; line-height: 1.5; }
.au-err { margin: 0 0 14px; padding: 11px 14px; border-radius: 10px; background: var(--bad-bg); color: var(--bad); border: 1px solid #f3c6c1; font-size: 14.5px; font-weight: 500; }
.au-card[data-error] .au-err { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.au-card input[type=text], .au-card input[type=email], .au-card input[type=tel], .au-card input[type=password] { width: 100%; height: 50px; padding: 0 14px; font-size: 16px; border: 1.5px solid #cfd5dd; border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.au-card input:focus { outline: none; border-color: #075e54; box-shadow: 0 0 0 4px rgba(7,94,84,.14); }
.pw { position: relative; } .pw input { padding-right: 52px; }
.eye { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; background: none; border-radius: 8px; display: grid; place-items: center; color: #6b7686; }
.eye svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; } .eye.on { color: #075e54; }
.caps, .hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); } .caps { color: #85560a; font-weight: 600; } .hint.warn { color: #85560a; font-weight: 600; } .hint.bad { color: var(--bad); } .hint.ok { color: var(--ok); font-weight: 600; }
.hint button { border: 0; background: none; color: #075e54; font-weight: 800; text-decoration: underline; padding: 0; font: inherit; font-weight: 800; }
.ph { display: flex; } .ph .cc { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid #cfd5dd; border-right: 0; border-radius: 10px 0 0 10px; background: #f4f6f8; font-weight: 700; color: var(--text-2); } .ph input { border-radius: 0 10px 10px 0 !important; }
.meter { display: flex; gap: 5px; margin-top: 9px; } .meter i { flex: 1; height: 5px; border-radius: 3px; background: #e3e6eb; transition: background .2s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: #d64b3c; } .meter[data-s="2"] i:nth-child(-n+2) { background: #e59a1a; } .meter[data-s="3"] i:nth-child(-n+3) { background: #7fb83a; } .meter[data-s="4"] i { background: #1b9a5d; }
.au-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 6px; border: 0; border-radius: 12px; background: #f6b31b; color: #0d1520; font: inherit; font-size: 16.5px; font-weight: 800; box-shadow: 4px 4px 0 rgba(7,94,84,.25); transition: transform .12s, box-shadow .12s, background .12s; text-align: center; }
.au-btn:hover { background: #ffc43d; } .au-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(7,94,84,.25); }
.au-btn:disabled { background: #e9ecf0; color: #9aa3b0; box-shadow: none; cursor: not-allowed; }
.au-btn.alt { background: #fff; border: 1.5px solid #075e54; color: #075e54; box-shadow: none; } .au-btn.alt:hover { background: #eaf6f2; }
.au-btn.loading span { opacity: 0; } .au-btn.loading { position: relative; pointer-events: none; }
.au-btn.loading::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid rgba(13,21,32,.25); border-top-color: #0d1520; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.au-or { display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 13px; margin: 18px 0; } .au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-foot, .au-legal { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; } .au-foot a { color: #075e54; font-weight: 700; }
.au-legal { font-size: 12.5px; margin-top: 14px; }
.au-link { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; }
.au-prog { display: flex; gap: 6px; margin-bottom: 8px; } .au-prog i { flex: 1; height: 5px; border-radius: 3px; background: #e3e6eb; transition: background .3s; } .au-prog i.on { background: #075e54; }
.au-step { margin: 0 0 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; padding: 16px 8px 14px; border: 1.5px solid #dde1e7; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile .ti { width: 44px; height: 44px; border-radius: 12px; background: #f1f3f5; display: grid; place-items: center; transition: background .15s; }
.tile svg { width: 23px; height: 23px; stroke: #3b4656; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: 13px; line-height: 1.25; color: var(--text); font-weight: 700; }
.tile:hover { border-color: #aab3bf; transform: translateY(-2px); }
.tile:has(input:checked) { border-color: #075e54; background: #eaf6f2; box-shadow: 4px 4px 0 rgba(7,94,84,.22); }
.tile:has(input:checked) .ti { background: #075e54; } .tile:has(input:checked) svg { stroke: #f6b31b; }
.tile:has(input:focus-visible) { outline: 3px solid rgba(7,94,84,.35); outline-offset: 2px; }
.js #reg .pane { display: none; } .js #reg .pane.on { display: block; animation: paneIn .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes paneIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
html:not(.js) .au-prog, html:not(.js) .au-step, html:not(.js) #next, html:not(.js) #back { display: none; } html:not(.js) .pane + .pane { margin-top: 28px; }
@media (max-width: 900px) {
  .au-grid { display: flex; flex-direction: column; min-height: 100dvh; background: #075e54; }
  .au-brand { padding: calc(20px + env(safe-area-inset-top)) 22px 56px; gap: 14px; }
  .au-c1 { width: 340px; height: 340px; left: -120px; bottom: -190px; } .au-c2 { width: 150px; height: 150px; right: -60px; top: -80px; }
  .au-logo { font-size: 18px; } .au-logo img { width: 34px; height: 34px; }
  .au-pitch h2 { font-size: 27px; line-height: 1.1; margin-top: 2px; } .au-pitch h2 span { display: inline; }
  .au-pitch p, .au-chat, .au-points { display: none; }
  .au-side { flex: 1; background: #fff; border-radius: 28px 28px 0 0; margin-top: -30px; padding: 30px 20px calc(28px + env(safe-area-inset-bottom)); justify-content: flex-start; z-index: 2; }
  .au-back { position: static; align-self: flex-start; margin-bottom: 14px; font-size: 14px; }
  .au-card h1 { font-size: 24px; } .au-sub { margin-bottom: 18px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; } .tile { padding: 13px 4px 11px; } .tile b { font-size: 12px; } .tile .ti { width: 40px; height: 40px; }
  .au-card input[type=text], .au-card input[type=email], .au-card input[type=tel], .au-card input[type=password] { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .au-chat .b, .au-chat .n { animation: none; opacity: 1; } .js #reg .pane.on, .au-card[data-error] .au-err { animation: none; } }

.forgot { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #075e54; }
