/* cf-landing/publico/landing.css — página inicial (coluna C do esboço aprovado, spec §5). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fontes/bricolage-grotesque-latin-800.woff2) format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fontes/plus-jakarta-sans-latin-400.woff2) format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fontes/plus-jakarta-sans-latin-700.woff2) format("woff2");
}

:root {
  --fundo: #FBF6F3;
  --texto: #2A2327;
  --secundario: #6B5F63;
  --terracota: #9E5A52;
  --borda: #efe2dd;
  --titulo: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--fundo);
  color: var(--texto);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
body.com-cookies { padding-bottom: 64px; }
ul { list-style: none; }
a { color: var(--terracota); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--texto); outline-offset: 2px; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- topo em degradê ---------- */
.hero {
  background: linear-gradient(165deg, #E8B4C4 0%, #D99AA8 55%, #C9857A 100%);
  padding: 0 0 120px;
  border-radius: 0 0 32px 32px;
  color: #fff;
}
.hero :focus-visible { outline-color: #fff; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 0; }
.logo {
  display: flex; gap: 8px; align-items: center;
  font: 800 21px var(--titulo); color: #fff; text-decoration: none;
}
.logo img { height: 25px; width: auto; }
.pill {
  background: rgba(255, 255, 255, .22); color: #fff; border-radius: 99px;
  padding: 6px 11px; font-size: 11px; font-weight: 700;
}
.hero h1, .hero .sub { text-shadow: 0 1px 2px rgba(110, 50, 60, .18); }
.hero h1 {
  font: 800 40px/1.02 var(--titulo); letter-spacing: -.035em;
  padding: 34px 22px 0;
}
.hero .sub { opacity: .96; font-size: 15.5px; line-height: 1.55; padding: 12px 22px 0; }

/* ---------- cartão da agenda de hoje ---------- */
.app {
  margin: -96px 22px 0; background: #fff; border-radius: 22px;
  padding: 14px 14px 6px; box-shadow: 0 16px 40px rgba(110, 50, 60, .16);
  position: relative;
}
.app .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.app .h b { font: 800 15px var(--titulo); }
.app .h small { color: var(--secundario); font-size: 11.5px; }
.lin {
  display: flex; gap: 10px; align-items: center; padding: 9px 0;
  border-bottom: 1px solid #f3e9e5; font-size: 13px;
}
.lin:last-child { border: 0; }
.lin .hr { font-weight: 700; width: 42px; color: var(--terracota); flex: none; }
.lin .q { flex: 1; }
.lin .q small { display: block; color: var(--secundario); font-size: 11.5px; }
.chip {
  font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 4px 8px;
  background: #FBEFF2; color: var(--terracota); white-space: nowrap;
}
/* O único movimento da página: o horário que chega pelo link. */
@keyframes chega {
  0%, 12% { opacity: 0; transform: translateY(10px); }
  20%, 85% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: translateY(-6px); }
}
.novo { animation: chega 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .novo { animation: none; }
}

/* ---------- cartão da lista de espera / lojas ---------- */
.cta {
  margin: 22px 22px 0; padding: 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--borda);
}
.cta h2 { font: 800 19px var(--titulo); }
.cta p { color: var(--secundario); font-size: 13.5px; margin: 4px 0 12px; }
.cta input {
  display: block; width: 100%; border: 1px solid #d9c8c2; border-radius: 12px;
  padding: 13px 14px; font: inherit; font-size: 16px; margin-bottom: 8px;
  background: var(--fundo); color: var(--texto);
}
.cta input::placeholder { color: var(--secundario); opacity: 1; }
.cta input[aria-invalid="true"] { border-color: #b3261e; }
.cta button[type="submit"] {
  width: 100%; min-height: 50px; border: 0; border-radius: 12px; padding: 15px;
  font: 800 15px var(--titulo); color: #FFF8F6; background: var(--terracota);
}
.cta button[type="submit"]:disabled { opacity: .7; cursor: progress; }
.cf-turnstile { margin: 2px 0 10px; min-height: 65px; }
.isca { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cta .erro { color: #b3261e; font-weight: 700; margin: 10px 0 0; }
.cta .erro:empty { margin: 0; }
.cta .lgpd { font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.pronto:focus { outline: none; }
.pronto:focus-visible { outline: 3px solid var(--texto); outline-offset: 6px; border-radius: 8px; }
.pronto h2 { font-size: 22px; }
.pronto p { font-size: 15px; margin-bottom: 0; }

.lojas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.loja {
  flex: 1 1 150px; display: flex; flex-direction: column; justify-content: center;
  min-height: 52px; padding: 8px 16px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none;
  font: 800 17px/1.1 var(--titulo);
}
.loja small { font: 400 11px "Plus Jakarta Sans", system-ui, sans-serif; }

/* ---------- recursos ---------- */
.bloco { padding: 34px 22px 0; }
.bloco > h2 { font: 800 24px/1.1 var(--titulo); letter-spacing: -.02em; }
.g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.g li { background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 14px; }
.g .ico { font-size: 20px; line-height: 1.2; }
.g h3 { font: 800 15px var(--titulo); margin-top: 8px; }
.g p { font-size: 12.5px; color: var(--secundario); margin-top: 2px; }

/* ---------- rodapé ---------- */
.rodape { padding: 28px 22px 34px; font-size: 12px; color: var(--secundario); }
.rodape ul { display: flex; flex-wrap: wrap; align-items: center; }
.rodape li + li::before { content: "·"; content: "·" / ""; padding: 0 6px; }
.rodape a, .rodape .link {
  display: inline-block; padding: 6px 0; color: var(--secundario);
}
.link { background: none; border: 0; text-decoration: underline; font-size: inherit; }

/* ---------- banner de cookies ---------- */
/* Faixa fina presa ao rodapé da tela (~52 px no celular), que some enquanto
   um campo do formulário tem foco (landing.js): não tampa o formulário. */
.cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 8px 12px; padding-bottom: max(8px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  background: var(--texto); color: var(--fundo); border-radius: 14px 14px 0 0;
  box-shadow: 0 -6px 20px rgba(42, 35, 39, .22); font-size: 12px; line-height: 1.35;
}
.cookies p { flex: 1 1 auto; min-width: 0; }
.cookies a { color: #fff; }
.cookies :focus-visible { outline-color: #fff; }
.cookies-botoes { display: flex; gap: 6px; flex: none; }
.cookies button {
  min-height: 36px; padding: 6px 12px; border-radius: 10px; font-weight: 700;
  border: 1px solid var(--fundo); background: var(--fundo); color: var(--texto);
}
.cookies button.secundario { background: transparent; color: var(--fundo); }

/* ---------- entre o celular e o computador ---------- */
@media (min-width: 600px) {
  .app, .cta { width: calc(100% - 44px); max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-in { max-width: 564px; margin: 0 auto; }
  .bloco, .rodape { max-width: 564px; margin: 0 auto; }
}

/* ---------- computador (≥ 900 px) ---------- */
@media (min-width: 900px) {
  .topo { display: grid; grid-template-columns: 1fr min(1100px, calc(100% - 64px)) 1fr; }
  .hero { grid-column: 1 / -1; grid-row: 1; padding-bottom: 72px; border-radius: 0 0 48px 48px; }
  .hero-in { max-width: none; width: min(1100px, calc(100% - 64px)); }
  .nav, .hero h1, .hero .sub { padding-left: 0; padding-right: 0; }
  .nav { padding-top: 28px; }
  .pill { font-size: 12px; padding: 7px 13px; }
  .hero h1 { font-size: 64px; max-width: 600px; padding-top: 64px; }
  .hero .sub { font-size: 18px; max-width: 520px; padding-top: 18px; }
  .app {
    grid-column: 2; grid-row: 1; justify-self: end; align-self: end;
    width: 400px; max-width: none; margin: 0 0 56px; padding: 16px 18px 6px;
  }
  .cta { max-width: 520px; margin-top: 32px; padding: 22px 24px; }
  .cta h2 { font-size: 22px; }
  .bloco, .rodape { max-width: none; width: min(1100px, calc(100% - 64px)); padding-left: 0; padding-right: 0; }
  .bloco { padding-top: 64px; }
  .bloco > h2 { font-size: 30px; text-align: center; }
  .g { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
  .g li { padding: 18px; }
  .rodape { padding-top: 40px; justify-content: center; }
  .rodape ul { justify-content: center; }
}

/* Tela larga: o banner vira um cartão no canto esquerdo, fora da coluna do
   formulário (520 px no centro). */
@media (min-width: 1200px) {
  .cookies {
    left: 16px; right: auto; bottom: 16px; width: 300px;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px 14px; border-radius: 14px;
  }
  .cookies-botoes { justify-content: flex-end; }
  body.com-cookies { padding-bottom: 0; }
}
