/* VIVER — identidade: branco nas bordas, degradê vibrante no centro (rosa, azul, coral, pêssego),
   Instrument Serif itálico + Jost. Mobile-first, letras grandes, alto contraste. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/jost-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #fdfaf7;
  --card: #fffdfb;
  --ink: #231719;
  --muted: #5f4a53;        /* contraste ~7:1 sobre o fundo */
  --line: #e6d8d6;
  --rose: #c76f7c;
  --error: #a3262f;
  --ok: #2f6b48;
  --serif: "Instrument Serif", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: 480px; margin: 0 auto; padding: 0 22px; position: relative; }

/* degradê da marca (sem filtros pesados, leve para Android antigo) */
.glow { position: relative; overflow: hidden; }
.glow::before {
  content: ""; position: absolute; inset: -10% -30% 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 30% at 18% 30%, rgba(214,140,172,.78), transparent 70%),
    radial-gradient(34% 24% at 62% 12%, rgba(158,192,232,.75), transparent 70%),
    radial-gradient(36% 30% at 88% 46%, rgba(246,160,112,.72), transparent 70%),
    radial-gradient(42% 30% at 50% 72%, rgba(240,126,134,.62), transparent 72%),
    radial-gradient(30% 24% at 30% 60%, rgba(248,196,170,.75), transparent 70%);
}
.glow > * { position: relative; z-index: 1; }

/* logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; color: var(--ink); }
.logo em { font-family: var(--serif); font-style: italic; font-size: 22px; }
.logo strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 54px; line-height: .88; letter-spacing: .01em; }
.logo-sm em { font-size: 17px; }
.logo-sm strong { font-size: 40px; }

.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,253,251,.82); border: 1px solid rgba(35,23,25,.14);
}
.kicker { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0; }

h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 11.5vw, 56px); line-height: 1.04; font-style: italic; }
h2 { font-size: 34px; line-height: 1.12; }
.sub { font-family: var(--serif); font-size: 25px; line-height: 1.3; margin: 0; }
p { margin: 0; }

/* botões (mínimo 56 px de altura) */
.btn {
  -webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fffaf6; font-family: var(--sans); font-size: 18px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .7; cursor: wait; }
.btn-outline { background: transparent; color: var(--ink); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.note { font-size: 16px; color: var(--muted); }
.center { text-align: center; }

/* formulário */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field > label, .legend { font-weight: 500; font-size: 18px; }
.input {
  width: 100%; min-height: 56px; padding: 14px 16px; font: inherit; font-size: 18px; color: var(--ink);
  background: #fff; border: 1.5px solid #cdbab9; border-radius: 14px; -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(199,111,124,.28); }
.input[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 16px; font-weight: 500; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.legend { padding: 0; margin-bottom: 10px; font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 400; }
.options { display: grid; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px;
  border: 1.5px solid #cdbab9; border-radius: 14px; background: #fff; font-size: 18px; cursor: pointer;
}
.opt span::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9c8790; background: #fff;
}
.opt input:checked + span { border-color: var(--ink); background: #fbeee9; font-weight: 500; }
.opt input:checked + span::before { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 45%, #fff 50%); }
.opt input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
fieldset[aria-invalid="true"] .opt span { border-color: var(--error); }

.field > label.consent { font-weight: 400; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 14px; padding: 14px 16px; font-size: 16px; margin-bottom: 18px; background: #fbeaea; color: var(--error); border: 1px solid #efc3c5; }
.micro { text-align: center; font-size: 16px; color: var(--muted); margin-top: 14px; }

/* benefícios */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; align-items: center; gap: 16px; font-size: 19px; }
.benefits svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fbeee9; stroke: var(--ink); fill: none; stroke-width: 1.4; }

/* fundadora */
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 22px; }
.quote { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; }
.sign { font-family: var(--serif); font-style: italic; font-size: 24px; }

footer { padding: 34px 0 44px; text-align: center; font-size: 15px; color: var(--muted); }
footer a { color: var(--muted); }

.section { padding: 34px 0; }
.stack > * + * { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spinner { animation-duration: 2s; } }
