/* iGarçom · Cadastro de Parceiro · estilos (22/11/2026)
   Identidade do site (index.html): tinta #0B0E13, verde-musgo #1C3E2B, ouro #C8A43F / #E4C46A, creme #FBF8F1, verde #22C55E, linhas #E2E8F0.
   Fonte dos títulos: Playfair Display (hospedada aqui, sem terceiros). Mobile primeiro a partir de 360 px. */
@font-face{ font-family:'Playfair Display'; font-style:normal; font-weight:600 800; font-display:swap; src:url('playfair-latin.woff2') format('woff2'); }
:root{
  --ink:#0B0E13; --navy:#0F172A; --sys:#1C3E2B; --sys-dk:#0F2A1E; --gold:#C8A43F; --gold-lt:#E4C46A; --gold-ink:#1A1405;
  --cream:#FBF8F1; --line:#E2E8F0; --line2:#CBD5E1; --muted:#64748B; --green:#22C55E; --green-dk:#16A34A; --err:#B91C1C; --err-bg:#FEF2F2;
  --r:12px;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ font-family:Inter,'Segoe UI',system-ui,-apple-system,Helvetica,Arial,sans-serif; background:var(--cream); color:var(--navy); line-height:1.55; font-size:16px; }
a{ color:inherit; }
.serif{ font-family:'Playfair Display',Georgia,'Times New Roman',serif; }
.wrap{ width:100%; max-width:860px; margin:0 auto; padding:0 16px; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--gold); color:var(--gold-ink); padding:10px 14px; border-radius:8px; z-index:20; font-weight:700; }
.skip:focus{ left:8px; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }

/* topo */
.top{ background:var(--ink); color:#fff; }
.top-in{ display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; }
.brand{ display:flex; align-items:center; gap:9px; font-size:18px; font-weight:500; text-decoration:none; color:#fff; }
.brand i{ color:var(--green); font-style:normal; }
.back{ font-size:14px; color:#CBD5E1; text-decoration:none; padding:8px 4px; }
.back:hover{ color:#fff; text-decoration:underline; }

/* introdução */
.intro{ padding:30px 0 18px; }
.kicker{ color:var(--gold); font-weight:800; font-size:12px; letter-spacing:.14em; margin-bottom:10px; }
.intro h1{ font-size:clamp(28px,6.4vw,42px); line-height:1.12; font-weight:800; color:var(--ink); margin-bottom:12px; }
.lead{ color:#475569; font-size:clamp(16px,2.6vw,18px); max-width:640px; }
.pontos{ list-style:none; display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:16px; font-size:14px; color:#334155; }
.pontos span{ color:var(--green-dk); font-weight:800; margin-right:4px; }
.aviso{ background:#FFFBEB; border:1px solid #FDE68A; border-radius:var(--r); padding:14px 16px; margin-bottom:16px; }

/* cartão */
.card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px 16px 22px; margin-bottom:28px; box-shadow:0 1px 0 rgba(15,23,42,.03); }
@media(min-width:640px){ .card{ padding:30px 32px 34px; } }

/* passos e progresso */
.passos{ list-style:none; display:flex; gap:6px; margin-bottom:10px; }
.passos li{ flex:1; display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); font-weight:600; min-width:0; }
.passos .n{ width:28px; height:28px; border-radius:50%; flex-shrink:0; display:grid; place-items:center; background:#EEF2F7; color:var(--muted); font-weight:800; font-size:14px; }
.passos .t{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.passos li.on{ color:var(--ink); } .passos li.on .n{ background:var(--gold); color:var(--gold-ink); }
.passos li.ok .n{ background:var(--green-dk); color:#fff; }
.passos li.ok .n{ font-size:0; } .passos li.ok .n::before{ content:"✓"; font-size:15px; }
@media(max-width:559px){ .passos .t{ display:none; } .passos li.on .t{ display:inline; } .passos li{ flex:0 0 auto; } .passos li.on{ flex:1; } }
.barra{ height:6px; background:#EEF2F7; border-radius:99px; overflow:hidden; margin-bottom:12px; }
.barra i{ display:block; height:100%; width:33.33%; background:linear-gradient(90deg,var(--gold),var(--gold-lt)); border-radius:99px; transition:width .35s ease; }
.req-nota{ font-size:12.5px; color:var(--muted); margin-bottom:16px; }
.rq{ color:var(--err); font-weight:800; }
.op{ color:var(--muted); font-weight:500; font-size:12.5px; }

/* títulos de passo */
.passo[hidden]{ display:none; }
.passo h2{ font-size:clamp(22px,4.6vw,28px); color:var(--ink); line-height:1.2; margin-bottom:4px; outline:none; }
.passo .sub{ color:var(--muted); font-size:14.5px; margin-bottom:18px; }
.blk{ font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--sys); font-weight:800; margin:26px 0 12px; padding-top:18px; border-top:1px solid var(--line); }

/* campos */
.g2{ display:grid; grid-template-columns:1fr; gap:0 16px; }
@media(min-width:640px){ .g2{ grid-template-columns:1fr 1fr; } .g2 .span2{ grid-column:1 / -1; } }
.g6{ display:grid; grid-template-columns:repeat(6,1fr); gap:0 12px; }
.g6 .w2{ grid-column:span 6; } .g6 .w3{ grid-column:span 6; } .g6 .w4{ grid-column:span 6; }
@media(min-width:640px){ .g6 .w2{ grid-column:span 2; } .g6 .w3{ grid-column:span 3; } .g6 .w4{ grid-column:span 4; } }
.f{ margin-bottom:16px; min-width:0; }
.f > label:not(.ch),.grupo legend{ display:block; font-size:14px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.hint{ font-size:12.5px; color:var(--muted); margin-top:5px; }
.grupo .hint{ margin:-2px 0 8px; }
.intro[hidden]{ display:none; }
input[type=text],input[type=tel],input[type=email],select,textarea{ width:100%; min-height:48px; padding:12px 14px; font:inherit; font-size:16px; color:var(--navy); background:#fff; border:1px solid var(--line2); border-radius:10px; }
textarea{ min-height:110px; resize:vertical; }
select{ appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:40px; }
input:focus,select:focus,textarea:focus{ outline:3px solid rgba(200,164,63,.45); outline-offset:0; border-color:var(--gold); }
input:disabled{ background:#F1F5F9; color:#94A3B8; }
.f.invalido input,.f.invalido select,.f.invalido textarea{ border-color:var(--err); background:var(--err-bg); }
.err{ color:var(--err); font-size:13.5px; font-weight:600; margin-top:5px; min-height:0; }
.err:empty{ display:none; }
.f.nao-req .rq,.f.nao-req .sr{ display:none; }
.f.nao-req > label:not(.ch)::after{ content:" (opcional)"; color:var(--muted); font-weight:500; font-size:12.5px; }
.cond{ display:none; } .cond.on{ display:block; }
.g2 > .cond.on{ display:block; }

/* grupos de opções (cartões de escolha) */
.grupo{ border:0; padding:0; min-width:0; }
.grupo legend{ padding:0; }
.opts{ display:grid; grid-template-columns:1fr; gap:8px; }
.c2 .opts,.c3 .opts,.c4 .opts{ grid-template-columns:1fr 1fr; }
@media(max-width:639px){ .m1 .opts{ grid-template-columns:1fr; } }
@media(min-width:640px){ .c3 .opts{ grid-template-columns:repeat(3,1fr); } .c4 .opts{ grid-template-columns:repeat(4,1fr); } }
.c1 .opts{ grid-template-columns:1fr; }
.ch{ display:flex; align-items:flex-start; gap:10px; min-height:48px; padding:11px 13px; background:#fff; border:1px solid var(--line2); border-radius:10px; cursor:pointer; font-size:14.5px; line-height:1.35; font-weight:600; color:var(--navy); }
.ch input{ width:20px; height:20px; margin-top:1px; flex-shrink:0; accent-color:var(--sys); cursor:pointer; }
.ch:hover{ border-color:var(--gold); }
.ch:has(input:checked){ border-color:var(--sys); background:#F1F7F3; box-shadow:inset 0 0 0 1px var(--sys); }
.ch:has(input:focus-visible){ outline:3px solid var(--gold); outline-offset:1px; }
.grupo.invalido .ch{ border-color:var(--err); }
.ch-mini{ min-height:0; padding:8px 0 0; border:0; background:none; font-size:13.5px; font-weight:500; box-shadow:none !important; }
.ch-mini:has(input:checked){ background:none; box-shadow:none; }
.consent .ch{ font-size:13.5px; font-weight:500; background:#F8FAFC; align-items:flex-start; }
.esc{ grid-template-columns:repeat(5,1fr) !important; }
.esc .ch{ justify-content:center; padding:0; min-height:48px; gap:6px; }
.esc .ch input{ margin:0; }
.esc .ch span{ font-weight:800; }
.esc-leg{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted); margin-top:5px; }

/* ninho de robô: fora da tela */
.ninho{ position:absolute; left:-5000px; top:auto; width:1px; height:1px; overflow:hidden; }

/* ações */
.acoes{ display:flex; gap:12px; justify-content:space-between; margin-top:26px; flex-wrap:wrap; }
.btn{ appearance:none; border:0; cursor:pointer; font:inherit; font-weight:800; font-size:16px; min-height:50px; padding:13px 28px; border-radius:var(--r); background:var(--gold); color:var(--gold-ink); }
.btn:hover{ background:var(--gold-lt); }
.btn.sec{ background:#fff; color:var(--navy); border:1px solid var(--line2); }
.btn.sec:hover{ border-color:var(--navy); background:#F8FAFC; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }
.btn[hidden]{ display:none; }
#btn-seguir,#btn-enviar{ margin-left:auto; }
@media(max-width:480px){ .acoes{ flex-direction:column-reverse; } .btn{ width:100%; } #btn-seguir,#btn-enviar{ margin-left:0; } }
.resumo-erro{ background:var(--err-bg); border:1px solid #FECACA; color:#7F1D1D; border-radius:var(--r); padding:12px 14px; margin-bottom:18px; font-size:14.5px; font-weight:600; }
.resumo-erro[hidden]{ display:none; }
.falha{ margin-top:14px; background:var(--err-bg); border:1px solid #FECACA; color:#7F1D1D; border-radius:var(--r); padding:12px 14px; font-size:14.5px; }
.falha[hidden]{ display:none; }

/* resultado */
.resultado{ text-align:center; padding:34px 20px 30px; }
.resultado[hidden]{ display:none; }
.ok-ico{ width:60px; height:60px; margin:0 auto 14px; border-radius:50%; display:grid; place-items:center; background:var(--sys); color:var(--gold-lt); font-size:30px; font-weight:800; }
.resultado h2{ font-size:clamp(24px,5vw,30px); color:var(--ink); margin-bottom:10px; outline:none; }
.resultado p{ max-width:520px; margin:0 auto 12px; color:#334155; }
.proto{ display:inline-block; background:#F1F5F9; border:1px solid var(--line); border-radius:99px; padding:6px 14px; font-size:13.5px; color:#334155; font-weight:700; letter-spacing:.03em; }
#res-acao{ margin:14px 0 6px; }
.btn-zap{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; background:var(--green); color:#052E16; font-weight:800; min-height:52px; padding:13px 26px; border-radius:var(--r); font-size:16px; }
.btn-zap:hover{ background:#4ADE80; }
.zap-nota{ font-size:13px; color:var(--muted); margin-top:10px !important; }
.volta{ margin-top:18px !important; font-size:14px; } .volta a{ color:var(--sys); font-weight:700; }

/* rodapé */
.ft{ background:var(--ink); color:#94A3B8; font-size:12.5px; padding:22px 0 26px; }
.ft a{ color:#E4C46A; }
.ft .cp{ margin-top:8px; color:#64748B; }

@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } .barra i{ transition:none; } }
