/* Site da organização (DESIGN, seção 13): sempre claro, na cor do tema de cada uma (--site e --site-ink vêm da página). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f4f6fa; color: #1b2433; font: 400 1rem/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; }

.st {
    --site-deep: color-mix(in srgb, var(--site) 45%, #05070c);
    --site-text: color-mix(in srgb, var(--site) 62%, #05070c);
    --line: #e2e7ef;
    --soft: #5b6678;
    display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
.st-main { flex: 1; width: 100%; max-width: 44rem; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
.st a { color: var(--site-text); }
.st :focus-visible { outline: 3px solid color-mix(in srgb, var(--site) 60%, transparent); outline-offset: 2px; }

/* Topo do início: a logo ampliada e desfocada atrás, escurecida com a cor do tema. */
.st-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--site), var(--site-deep)); color: #fff; }
.st-hero-photo { position: absolute; inset: -3rem; z-index: -2; background-size: cover; background-position: center; filter: blur(28px) saturate(1.2); }
.st-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--site-deep) 55%, transparent), color-mix(in srgb, var(--site-deep) 94%, transparent) 72%); }
/* Marca d'água do ramo (SiteWatermark): por cima do fundo, atrás do texto. */
.st-hero-mark { position: absolute; inset: 0; background-position: center top; opacity: .11; pointer-events: none; }
.st-hero-body { position: relative; display: flex; align-items: center; gap: 1.1rem; max-width: 44rem; margin: 0 auto; padding: calc(1.6rem + env(safe-area-inset-top)) 1rem 1.6rem; }
.st-logo { flex: none; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; overflow: hidden; border: 3px solid #fff; border-radius: 1.25rem; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .28); color: var(--site-text); font-size: 2.4rem; font-weight: 800; }
.st-logo img { width: 100%; height: 100%; object-fit: contain; }
.st-hero-text { min-width: 0; }
.st-hero h1 { font-size: clamp(1.35rem, 5.4vw, 1.9rem); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; }
.st-hero p { margin-top: .3rem; font-size: .95rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; color: rgb(255 255 255 / .92); }

.st-bar { display: flex; align-items: center; gap: .7rem; width: 100%; max-width: 44rem; margin: 0 auto; padding: calc(.9rem + env(safe-area-inset-top)) 1rem .2rem; }
.st-back { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: -.5rem; border-radius: 50%; font-size: 1.25rem; text-decoration: none; }
.st-bar img { border-radius: .6rem; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.st-bar-name { font-weight: 600; overflow-wrap: anywhere; }

.st-title { margin-bottom: 1rem; font-size: 1.4rem; font-weight: 800; }
.st-section { margin: 0 0 .75rem; font-size: 1.05rem; font-weight: 800; }
.st-plans + .st-section { margin-top: 2rem; }
.st-card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 1.1rem; }
.st-plans { display: grid; gap: .75rem; list-style: none; }
.st-plan { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.st-plan-text { min-width: 0; }
.st-plan h3 { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.st-plan p { margin-top: .15rem; color: var(--soft); font-size: .92rem; overflow-wrap: anywhere; }
.st-price { margin-top: .45rem; }
.st-price strong { color: var(--site-text); font-weight: 800; font-size: 1.1rem; }
.st-price span { color: var(--soft); font-size: .9rem; }

.st-btn, .st a.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: none; min-height: 2.9rem; padding: .55rem 1.25rem; border: 0; border-radius: .8rem; background: var(--site); color: var(--site-ink); font-weight: 600; text-decoration: none; cursor: pointer; }
.st-btn:hover { filter: brightness(.94); }
.st-btn:disabled { opacity: .6; cursor: default; }
.st-btn-wide { width: 100%; min-height: 3.25rem; font-size: 1.05rem; }
.st-btn-paid { background: #15803d; color: #fff; }
.st-link { display: block; width: 100%; margin-top: .75rem; padding: .6rem; border: 0; background: none; color: var(--site-text); text-align: center; text-decoration: underline; cursor: pointer; }

.st-mine, .st a.st-mine { display: flex; align-items: center; gap: .9rem; color: inherit; text-decoration: none; }
.st-mine-icon { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .8rem; background: color-mix(in srgb, var(--site) 14%, #fff); color: var(--site-text); font-size: 1.3rem; }
.st-mine-text { flex: 1; min-width: 0; }
.st-mine-text small { display: block; color: var(--soft); font-size: .9rem; }

/* Assinar */
/* Degradê, brilho e anéis só nos cantos: o meio, onde fica o texto, é a cor do tema pura (contraste de --site-ink). */
.st-price-card { position: relative; overflow: hidden; isolation: isolate; padding: 1.6rem 1.2rem 1.5rem; border-radius: 1.35rem; text-align: center; color: var(--site-ink);
    background: radial-gradient(circle at 0 0, rgb(255 255 255 / .38), transparent 42%), linear-gradient(135deg, var(--site) 58%, color-mix(in srgb, var(--site) 74%, #05070c));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 14px 30px -14px color-mix(in srgb, var(--site) 75%, #05070c); }
.st-price-card::before, .st-price-card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.4rem solid currentColor; opacity: .06; }
.st-price-card::before { top: -4.5rem; right: -3.5rem; width: 11rem; height: 11rem; }
.st-price-card::after { bottom: -5.5rem; left: -4rem; width: 12rem; height: 12rem; }
.st-price-card h1 { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.st-price-big { margin: .2rem 0 .7rem; font-size: 2.75rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.st-price-when { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; padding: .4rem .95rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 1.2rem; background: rgb(255 255 255 / .12); font-size: .92rem; font-weight: 500; }
.st-about { margin: 1rem 0; color: #3b4658; overflow-wrap: anywhere; }
.st-form { margin-top: 1rem; }
/* Campos iguais aos do cadastro do Cobly, com o foco na cor do tema e o erro em vermelho claro. */
.st-fields { display: grid; gap: 1rem; }
.st-field label { display: block; margin-bottom: .4rem; }
.st-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 .75rem; }
.st-not-mine { margin: -.6rem 0; padding: .6rem 0; border: 0; background: none; color: var(--site-text); font-size: .88rem; text-decoration: underline; cursor: pointer; }
.st-input { position: relative; }
.st-input > .bi { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--soft); line-height: 1; pointer-events: none; }
.st-input input { width: 100%; min-height: 3rem; padding: .375rem .75rem .375rem 2.6rem; border: 1px solid #d9e1ef; border-radius: .625rem; background: #fff; transition: border-color .15s, box-shadow .15s; }
.st-input input::placeholder { color: #a3adbd; opacity: 1; }
.st-input input:focus { border-color: var(--site); outline: 0; box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--site) 22%, transparent); }
.st-input:focus-within > .bi { color: var(--site-text); }
.st-input input:user-invalid { border-color: #e8505b; box-shadow: 0 0 0 .2rem rgb(232 80 91 / .18); }
.st-input input:user-invalid:focus { box-shadow: 0 0 0 .25rem rgb(232 80 91 / .3); }
.st-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-first { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; margin: 1rem 0; padding: .85rem 1rem; border-radius: .85rem; background: #e8ecf3; }
.st-first span { color: #465064; }
/* Uma linha só no celular. */
.st-first-long { font-size: clamp(.7rem, 3.4vw, .9rem); font-weight: 600; letter-spacing: -.01em; }
.st-form > .st-btn-wide { margin-top: 1rem; }
.st-first + .st-btn-wide { margin-top: 0; }
.st-consent { margin-top: .8rem; color: var(--soft); font-size: .88rem; text-align: center; }
.st-error { margin: 1rem 0; padding: .8rem 1rem; border-radius: .85rem; background: #fdecec; color: #9f1d1d; }
.st-note { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: .85rem; background: #fff6df; color: #6b4a00; }

.st-done { padding: 2rem 1.25rem; text-align: center; }
.st-done + * { margin-top: 1rem; }
.st-done-icon { color: #16a34a; font-size: 3.4rem; line-height: 1; }
.st-done h1, .st-done h2 { margin-top: .8rem; font-size: 1.4rem; font-weight: 800; }
.st-done p { margin: .4rem 0 0; color: #3b4658; }
.st-done .st-btn-wide { margin-top: 1.5rem; }

/* Minhas cobranças */
.st-empty { display: flex; align-items: center; gap: .8rem; }
.st-empty .bi { color: var(--site-text); font-size: 1.6rem; line-height: 1; }
.st-charge + .st-charge { margin-top: .75rem; }
.st-charge-head { display: flex; justify-content: space-between; gap: 1rem; }
.st-charge-head small { display: block; color: var(--soft); }
.st-charge-head > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.st-charge-amount { flex: none; font-weight: 800; font-size: 1.15rem; }
.st-tag { display: inline-block; padding: .1rem .6rem; border-radius: 1rem; background: #dcebff; color: #124a91; font-size: .82rem; font-weight: 600; }
.st-tag-late { margin-top: .4rem; background: #fdecec; color: #9f1d1d; }
.st-waiting { margin-top: .6rem; color: #3b4658; }
.st-qr { display: flex; justify-content: center; margin-top: 1rem; }
.st-qr svg { width: 13rem; height: 13rem; }
.st-code-label { display: block; margin: .8rem 0 .25rem; color: var(--soft); font-size: .85rem; }
.st-code { width: 100%; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: .7rem; background: #f7f9fc; font: 400 .85rem/1.4 ui-monospace, Consolas, monospace; resize: none; }
.st-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .6rem; margin-top: .8rem; }
.st-charge-total { border-color: color-mix(in srgb, var(--site) 45%, #fff); }

.st-text h2 { margin: 1.2rem 0 .3rem; font-size: 1.02rem; font-weight: 600; }
.st-text h2:first-child { margin-top: 0; }
.st-text p + p { margin-top: .5rem; }

.st-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom)); color: #5b6678; font-size: .88rem; }
.st-foot a { color: inherit; }

.st-closed { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-height: 100vh; min-height: 100dvh; padding: 2rem 1.25rem; text-align: center; }
.st-closed .bi { color: #8a95a8; font-size: 3rem; line-height: 1; }
.st-closed h1 { font-size: 1.5rem; font-weight: 800; }
.st-closed p { max-width: 24rem; color: #5b6678; }

/* Instalar app */
.st-install { position: fixed; z-index: 20; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .75rem; width: min(30rem, calc(100% - 2rem)); padding: .7rem .8rem; border-radius: 1rem; background: #10151f; color: #fff; box-shadow: 0 12px 32px rgb(0 0 0 / .3); transform: translate(-50%, 1.5rem); opacity: 0; transition: transform .25s, opacity .25s; }
.st-install.show { transform: translate(-50%, 0); opacity: 1; }
.st-install img { flex: none; border-radius: .6rem; background: #fff; object-fit: contain; }
.st-install-text { flex: 1; min-width: 0; line-height: 1.3; }
.st-install-text > strong, .st-install-text > small { display: block; }
.st-install-text > small { color: rgb(255 255 255 / .82); font-size: .84rem; }
.st-install-go { flex: none; min-height: 2.6rem; padding: .4rem 1rem; border: 0; border-radius: .7rem; background: var(--site); color: var(--site-ink); font-weight: 600; cursor: pointer; }
.st-install-close { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.st:has(.st-install.show) { padding-bottom: 7.5rem; }
@media (prefers-reduced-motion: reduce) { .st-install { transition: none; } }
@media (max-width: 23rem) { .st-plan { flex-direction: column; align-items: stretch; } }
