/* Páginas de cadastro Mais Q Delivery — mesma identidade do site (laranja, Inter). */
:root {
  --orange: #ff6a00;
  --orange-dark: #e95300;
  --red: #ff2f00;
  --dark: #09090b;
  --text: #18181b;
  --muted: #62626b;
  --soft: #fff8f2;
  --border: #ffe0cc;
  --white: #ffffff;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca-selo {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff; font-weight: 900; font-size: 15px; letter-spacing: -.5px;
  box-shadow: 0 10px 24px rgba(255, 106, 0, .28);
}
.marca strong { display: block; font-size: 17px; line-height: 1.1; }
.marca small { color: var(--muted); font-size: 12px; }
.topo nav { display: flex; gap: 22px; font-weight: 600; font-size: 14px; }
.topo nav a { text-decoration: none; color: var(--text); }
.topo nav a:hover { color: var(--orange-dark); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #ffb27a; outline-offset: 3px; }
.btn-primario { background: var(--orange); color: #fff; box-shadow: 0 14px 30px rgba(255, 106, 0, .3); }
.btn-primario:hover { background: var(--orange-dark); }
.btn-secundario { background: #fff; color: var(--text); border-color: #e7e7ea; }
.btn-claro { background: #fff; color: var(--orange-dark); }
.btn-pequeno { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 10%, #ffd9bd 0, transparent 42%),
              linear-gradient(180deg, var(--soft), #fff);
  padding: 72px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.selo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  color: var(--orange-dark); font-weight: 800; font-size: 14px;
}
.selo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1; letter-spacing: -3px;
  font-weight: 900; margin: 22px 0 18px;
}
h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.numeros { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.numeros strong { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.numeros span { color: var(--muted); font-size: 14px; }

.cartao-hero {
  background: #fff; border: 1px solid var(--border); border-radius: 32px;
  padding: 28px; box-shadow: 0 30px 70px rgba(233, 83, 0, .14);
}
.cartao-hero h2 { font-size: 20px; margin: 0 0 16px; letter-spacing: -.3px; }
.passo-mini { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid #f4f4f5; }
.passo-mini:first-of-type { border-top: 0; }
.passo-mini b {
  flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: var(--soft); color: var(--orange-dark); border: 1px solid var(--border); font-weight: 900;
}
.passo-mini strong { display: block; }
.passo-mini span { color: var(--muted); font-size: 14px; }

/* Seções */
section { padding: 84px 0; }
section.suave { background: var(--soft); }
.rotulo { color: var(--orange-dark); font-weight: 900; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
h2.titulo { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -1.6px; font-weight: 900; margin: 10px 0 14px; }
p.sub { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 0 40px; }

.grade { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grade.g4 { grid-template-columns: repeat(4, 1fr); }
.grade.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
section.suave .card { background: #fff; }
.card .icone {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, var(--orange), var(--red)); margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.3px; }
.card p { color: var(--muted); margin: 0; }

.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.lista-check li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: #e9f9ee; color: #16a34a; font-weight: 900; font-size: 15px;
}
.lista-check li span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }

.passos { counter-reset: passo; }
.passos .card { position: relative; padding-top: 34px; }
.passos .card::before {
  counter-increment: passo; content: counter(passo);
  position: absolute; top: -18px; left: 28px;
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(255, 106, 0, .3);
}

.destaque {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff; border-radius: 32px; padding: 44px;
}
.destaque h2 { color: #fff; }
.destaque p { color: rgba(255, 255, 255, .9); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Chamada final */
.final { text-align: center; }
.final .destaque { padding: 64px 32px; }
.final .acoes { justify-content: center; margin-top: 8px; }

/* Rodapé */
footer { border-top: 1px solid var(--border); padding: 32px 0 96px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* Botão fixo do WhatsApp */
.zap {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 28px; text-decoration: none;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .4);
}
.cta-fixo { display: none; }

@media (max-width: 920px) {
  .hero .wrap, .grade, .grade.g4, .grade.g2 { grid-template-columns: 1fr; }
  .topo nav { display: none; }
  .hero { padding: 44px 0; }
  section { padding: 60px 0; }
  .destaque { padding: 32px 24px; }
  .numeros { gap: 22px; }
  /* No celular, botão de cadastro fixo no rodapé da tela. */
  .cta-fixo {
    display: flex; position: fixed; left: 16px; right: 92px; bottom: 20px; z-index: 30;
  }
  .cta-fixo .btn { width: 100%; }
}

/* ---------- Formulário de autocadastro (29/11/2026) ---------- */
.form-hero { padding: 48px 0 24px; background: linear-gradient(180deg, var(--soft), #fff); }
.form-hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1.6px; margin: 14px 0 10px; }
.form-hero p { color: var(--muted); font-size: 17px; margin: 0; max-width: 640px; }
.form-wrap { width: min(760px, 100% - 32px); margin: 0 auto; padding: 24px 0 120px; }
.etapa { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px; margin-bottom: 18px; }
.etapa h2 { font-size: 19px; margin: 0 0 4px; letter-spacing: -.3px; display: flex; align-items: center; gap: 10px; }
.etapa h2 b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 15px; }
.etapa > p.dica { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo.inteiro { grid-column: 1 / -1; }
.campo label { font-weight: 700; font-size: 14px; }
.campo label small { color: var(--muted); font-weight: 500; }
.campo input, .campo select, .campo textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid #e4e4e7;
  background: #fff; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px #ffe6d5; }
.campo .erro { color: #c2410c; font-size: 13px; min-height: 0; }
.campo.invalido input, .campo.invalido select { border-color: #ea580c; background: #fff7f2; }
.opcoes { display: flex; flex-wrap: wrap; gap: 10px; }
.opcao { position: relative; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px;
  border: 1.5px solid #e4e4e7; font-weight: 700; cursor: pointer; user-select: none;
}
.opcao input:checked + span { border-color: var(--orange); background: var(--soft); color: var(--orange-dark); }
.opcao input:focus-visible + span { box-shadow: 0 0 0 4px #ffe6d5; }
.upload {
  display: flex; align-items: center; gap: 16px; padding: 16px; border: 1.5px dashed #f4b78f; border-radius: 18px;
  background: var(--soft); cursor: pointer;
}
.upload input { display: none; }
.upload .preview {
  width: 72px; height: 72px; border-radius: 16px; flex: none; background: #fff center/cover no-repeat;
  border: 1px solid var(--border); display: grid; place-items: center; font-size: 28px;
}
.upload.redondo .preview { border-radius: 50%; }
.upload strong { display: block; }
.upload span { color: var(--muted); font-size: 14px; }
.horarios { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.horarios th { font-size: 13px; color: var(--muted); font-weight: 700; padding: 0 4px 4px; text-align: center; }
.horarios th:first-child { text-align: left; }
.horarios td { text-align: center; padding: 2px; }
.horarios td:first-child { text-align: left; font-weight: 700; font-size: 15px; }
.horarios input { width: 22px; height: 22px; accent-color: var(--orange); cursor: pointer; }
.atalhos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.atalhos button { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--orange-dark); cursor: pointer; }
.mapa { height: 320px; border-radius: 18px; border: 1px solid var(--border); margin-top: 12px; background: #f4f4f5; }
.mapa-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.mapa-status { font-size: 14px; color: var(--muted); margin-top: 8px; }
.aceite { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.aceite input { width: 22px; height: 22px; accent-color: var(--orange); flex: none; margin-top: 2px; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerta { border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.alerta.erro { background: #fff1ea; color: #9a3412; border: 1px solid #fdc9ad; }
.enviar { width: 100%; min-height: 58px; font-size: 17px; }
.enviar[disabled] { opacity: .7; cursor: progress; transform: none; }
.sucesso { text-align: center; padding: 44px 26px; }
.sucesso .icone-ok { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e9f9ee; color: #16a34a; font-size: 40px; font-weight: 900; }
.sucesso h2 { font-size: 28px; letter-spacing: -.8px; margin: 0 0 10px; }
.sucesso p { color: var(--muted); margin: 0 auto 22px; max-width: 520px; }
@media (max-width: 640px) {
  .campos { grid-template-columns: 1fr; }
  .etapa { padding: 20px 18px; }
  .horarios th, .horarios td { padding: 1px; }
  .horarios th { font-size: 11px; }
}
.docs { display: grid; gap: 12px; }
.upload strong small { font-weight: 500; color: var(--muted); }
.upload.selecionado { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.upload.selecionado > span:last-child > strong::after { content: " ✓"; color: #16a34a; }

/* ---------- Selfie pela câmera (29/11/2026) ---------- */
.upload.selfie { cursor: default; align-items: flex-start; }
.upload.selfie .preview { width: 84px; height: 84px; }
.selfie-dicas { display: block; margin: 2px 0 8px; }
.selfie-status { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.selfie-status:empty { display: none; }
.selfie-status.ok { color: #15803d; }
.selfie-status.erro { color: #c2410c; }
.selfie-status.aviso { color: #a16207; }
.selfie-usar { margin: 0 0 10px; }
.selfie-modal {
  position: fixed; inset: 0; z-index: 100; background: #0b0b0d; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 16px;
}
.selfie-modal[hidden] { display: none; }
.selfie-camera { position: relative; width: min(92vw, 460px); aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: #000; }
.selfie-camera video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.selfie-moldura {
  /* 02/12/2026: moldura menor e mais alta para a selfie mostrar o peito (exigido na verificação). */
  position: absolute; left: 50%; top: 35%; width: 46%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%);
  border: 4px dashed rgba(255, 255, 255, .85); border-radius: 50%;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35);
}
.selfie-msg { max-width: 460px; text-align: center; font-weight: 600; margin: 0; }
.selfie-acoes { display: flex; gap: 12px; }
.selfie-acoes .btn { min-width: 140px; }
