/* ==========================================================================
   Adaptive — site público (landing e páginas legais). Requer base.css
   ========================================================================== */

/* Navegação ------------------------------------------------------------- */

.nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
}
.nav--solid { background: rgba(13, 17, 23, .82); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__links { display: flex; gap: 32px; font-size: .93rem; color: var(--muted-dark); }
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; gap: 10px; }

/* Hero ------------------------------------------------------------------ */

.hero {
    position: relative; overflow: hidden;
    background: var(--ink); color: var(--white);
    padding: 150px 0 0;
}
.hero__glow {
    position: absolute; width: 900px; height: 900px; right: -260px; top: -280px;
    background: radial-gradient(circle, rgba(200, 245, 66, .16), transparent 62%);
    pointer-events: none;
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 750; margin: 26px 0 22px; }
.hero__title em, .section__title em { font-style: normal; color: var(--lime); }
.hero__lead { font-size: 1.15rem; color: var(--muted-dark); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__url {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
    font: 500 .95rem/1 ui-monospace, 'SFMono-Regular', Menlo, monospace;
    color: var(--muted-dark); padding: 12px 16px; border-radius: 12px;
    background: var(--ink-2); border: 1px solid var(--line-dark);
}
.hero__url strong { color: var(--lime); font-weight: 600; }
.hero__url-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 245, 66, .18); }
.hero__alt { margin-top: 18px; font-size: .92rem; color: var(--muted-dark); }
.hero__alt a { color: var(--lime); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.btn--block { width: 100%; }
.btn--outline-dark { color: var(--ink); border-color: rgba(13, 17, 23, .35); }
.btn--outline-dark:hover { border-color: var(--ink); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; }
.plan {
    position: relative; display: flex; flex-direction: column; padding: 36px;
    border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
}
.plan--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan__tag {
    position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px;
    margin-bottom: 14px;
    background: var(--lime); color: var(--ink); font-size: .78rem; font-weight: 700;
}
.plan__tag--soft { background: var(--lime-soft); color: #3d4f00; }
.plan h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.plan__lead { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.plan--featured .plan__lead, .plan--featured .plan__alt, .plan--featured .plan__price small { color: var(--muted-dark); }
.plan__price { margin-top: 28px; font: 750 2.4rem/1 var(--font-display); letter-spacing: -.03em; }
.plan__price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__alt { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.plan__list { display: grid; gap: 12px; margin: 28px 0 32px; flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: .95rem; }
.plan__list .icon { width: 20px; height: 20px; flex-shrink: 0; color: #6a9a00; margin-top: 2px; }
.plan--featured .plan__list .icon { color: var(--lime); }

.cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__visual { position: relative; height: 600px; }

/* Totem */
.totem { position: absolute; left: 0; bottom: 30px; z-index: 1; }
.totem__body {
    position: relative; width: 150px; height: 210px; border-radius: 22px;
    background: linear-gradient(160deg, #1d2431, var(--ink-2));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    transform: perspective(600px) rotateY(16deg);
}
.totem__logo { position: absolute; top: 16px; left: 16px; }
.totem__logo .logo__mark { width: 24px; height: 24px; }
.totem__nfc { width: 54px; height: 54px; color: var(--lime); stroke-width: 1.6; }
.totem__label { font-size: .72rem; font-weight: 600; text-align: center; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .1em; line-height: 1.35; }
.totem__base { width: 190px; height: 14px; margin: 0 0 0 -20px; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(8px); }
.totem__waves { position: absolute; left: 75px; top: 105px; }
.totem__waves span {
    position: absolute; left: 0; top: 0; width: 140px; height: 140px; margin: -70px 0 0 -70px;
    border-radius: 50%; border: 2px solid var(--lime); opacity: 0;
    animation: wave 3s ease-out infinite;
}
.totem__waves span:nth-child(2) { animation-delay: 1s; }
.totem__waves span:nth-child(3) { animation-delay: 2s; }
@keyframes wave {
    0% { transform: scale(.5); opacity: .55; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Celular */
.phone {
    position: absolute; right: 10px; top: 0; z-index: 2;
    width: 300px; height: 610px; border-radius: 48px; padding: 11px;
    background: #05070a;
    box-shadow: 0 0 0 1.5px #2a3242, 0 50px 100px rgba(0, 0, 0, .55);
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-12px); }
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #05070a; z-index: 3; }
.phone__screen {
    height: 100%; border-radius: 38px; overflow: hidden;
    background: var(--paper); color: var(--ink);
    display: flex; flex-direction: column;
}

.biz { text-align: center; padding-bottom: 18px; }
.biz__cover { height: 112px; background: linear-gradient(135deg, #3b2a20, #7a4b2a 55%, #c98a4b); }
.biz__avatar {
    width: 74px; height: 74px; margin: -37px auto 10px; border-radius: 22px;
    display: grid; place-items: center;
    background: var(--white); border: 4px solid var(--paper);
    font: 750 1.4rem/1 var(--font-display); color: #7a4b2a;
}
.biz__name { font: 750 1.3rem/1.2 var(--font-display); letter-spacing: -.02em; }
.biz__meta { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.biz__buttons { display: grid; gap: 10px; padding: 0 16px; }
.biz__footer {
    margin-top: auto; padding: 16px; display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: .68rem; color: var(--muted);
}
.biz__footer-logo .logo__mark { width: 16px; height: 16px; }

.bbtn {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 16px;
    background: var(--white); border: 1px solid var(--line);
    font-weight: 600; font-size: .9rem;
    box-shadow: 0 1px 2px rgba(13, 17, 23, .04);
}
.bbtn__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--white); flex-shrink: 0; }
.bbtn__icon .icon { width: 21px; height: 21px; }
.bbtn__chev { margin-left: auto; color: #b5b8c0; width: 18px; height: 18px; }
.bbtn--whatsapp .bbtn__icon, .bbtn__icon.bbtn--whatsapp { background: var(--whatsapp); }
.bbtn--instagram .bbtn__icon, .bbtn__icon.bbtn--instagram { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.bbtn--pix .bbtn__icon, .bbtn__icon.bbtn--pix { background: var(--pix); }
.bbtn--google .bbtn__icon { background: var(--google); color: var(--ink); }

.segments {
    position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
    padding: 36px 0 44px; margin-top: 40px; border-top: 1px solid var(--line-dark);
    font: 600 .95rem/1 var(--font-display); color: var(--muted-dark);
}
.segments li { display: inline-flex; align-items: center; gap: 34px; }
.segments li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* Seções ---------------------------------------------------------------- */

.section { padding: 120px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__head--split > div { max-width: 560px; }
.section__title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 750; margin-top: 18px; }
.section__lead { color: var(--muted); max-width: 420px; font-size: 1.05rem; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
    position: relative; padding: 32px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(13, 17, 23, .07); }
.step__num { position: absolute; top: 28px; right: 32px; font: 750 .95rem/1 var(--font-display); color: #c4c2b8; }
.step__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--ink); color: var(--lime); margin-bottom: 28px;
}
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step strong { color: var(--ink); font-weight: 600; }

/* Opções de botões */
.options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.option {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 22px; border-radius: var(--radius);
    background: var(--paper); border: 1px solid transparent;
    transition: border-color .2s ease, background-color .2s ease;
}
.option:hover { border-color: var(--line); background: var(--white); }
.option__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--white); flex-shrink: 0; }
.option__icon .icon { width: 22px; height: 22px; }
.option--whatsapp .option__icon { background: var(--whatsapp); }
.option--instagram .option__icon { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.option--pix .option__icon { background: var(--pix); }
.option--star .option__icon { background: var(--google); color: var(--ink); }
.option h3 { font-size: 1.05rem; letter-spacing: -.01em; margin: 2px 0 4px; }
.option p { font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* Vantagens */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.features__list { display: grid; gap: 28px; margin-top: 44px; }
.features__list li { display: flex; gap: 18px; }
.features__icon {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center;
    background: rgba(200, 245, 66, .1); color: var(--lime); border: 1px solid rgba(200, 245, 66, .2);
}
.features__list h3 { font-size: 1.15rem; margin: 2px 0 6px; letter-spacing: -.01em; }
.features__list p { color: var(--muted-dark); font-size: .95rem; }

.panel {
    border-radius: 22px; overflow: hidden;
    background: var(--paper); color: var(--ink);
    box-shadow: 0 0 0 1px var(--line-dark), 0 40px 90px rgba(0, 0, 0, .5);
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}
.panel__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.panel__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #d3d1c7; }
.panel__url { margin-left: 14px; flex: 1; font-size: .75rem; color: var(--muted); background: var(--white); border-radius: 8px; padding: 6px 12px; }
.panel__body { padding: 26px; display: grid; gap: 12px; }
.panel__title { display: flex; justify-content: space-between; align-items: baseline; font: 750 1.2rem/1 var(--font-display); margin-bottom: 6px; }
.panel__title span { font: 500 .8rem/1 var(--font-body); color: var(--muted); }
.panel__row {
    display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px;
    background: var(--white); border: 1px solid var(--line);
}
.panel__row--editing { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(200, 245, 66, .55); }
.panel__drag { width: 8px; height: 16px; background-image: radial-gradient(#b9b7ad 1.4px, transparent 1.6px); background-size: 4px 5.3px; }
.panel__field { display: grid; gap: 1px; min-width: 0; }
.panel__field small { font-size: .72rem; color: var(--muted); font-weight: 500; }
.panel__field span { font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel__caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.panel__add {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px;
    border: 1.5px dashed #c9c7bc; border-radius: 14px; font-size: .88rem; font-weight: 600; color: var(--muted);
}
.panel__save { margin-top: 6px; text-align: center; padding: 14px; border-radius: 999px; background: var(--ink); color: var(--lime); font-weight: 600; font-size: .92rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .section__head { margin: 0; position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq__list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq__list details[open] { border-color: #c9c7bc; }
.faq__list summary {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font: 650 1.08rem/1.3 var(--font-display); letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
    content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; background: var(--paper); font: 500 1.2rem/1 var(--font-body);
    transition: transform .2s ease, background-color .2s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq__list details p { padding: 0 0 22px; color: var(--muted); }

/* CTA final */
.cta { padding: 0 0 120px; }
.cta__inner {
    position: relative; overflow: hidden; text-align: center;
    background: var(--lime); border-radius: 36px; padding: 88px 32px;
    display: flex; flex-direction: column; align-items: center;
}
.cta__inner::before, .cta__inner::after {
    content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(13, 17, 23, .08); pointer-events: none;
}
.cta__inner::before { width: 520px; height: 520px; left: -200px; bottom: -300px; }
.cta__inner::after { width: 820px; height: 820px; left: -350px; bottom: -450px; }
.cta__mark .logo__mark { width: 56px; height: 56px; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 750; max-width: 720px; margin: 28px 0 16px; }
.cta p { font-size: 1.1rem; color: #3a4300; margin-bottom: 36px; }
.cta .btn { position: relative; }

/* Rodapé */
.footer { background: var(--ink); color: var(--muted-dark); padding: 44px 0 36px; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer .logo__mark { width: 28px; height: 28px; }
.footer .logo__word { font-size: 1.2rem; }
.footer a:hover { color: var(--white); }
.footer__legal {
    display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap;
    margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark);
    font-size: .8rem; color: #6f7789;
}
.footer__legal strong { color: var(--muted-dark); font-weight: 600; }

/* Páginas legais -------------------------------------------------------- */

.legal-hero { background: var(--ink); color: var(--white); padding: 140px 0 64px; }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 750; margin: 22px 0 14px; }
.legal-hero p { color: var(--muted-dark); }

.legal { display: grid; grid-template-columns: 250px 1fr; gap: 64px; padding-top: 64px; padding-bottom: 110px; align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: .88rem; }
.legal__toc-title { display: block; font: 600 .75rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal__toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal__toc ol a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); }
.legal__toc ol a:hover { color: var(--ink); border-color: var(--ink); }
.legal__switch { margin-top: 28px; }
.legal__switch a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
    background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--ink);
}
.legal__switch a:hover { border-color: var(--ink); }

.legal__content { max-width: 760px; min-width: 0; color: #2b313d; font-size: 1.02rem; line-height: 1.75; }
.legal__content > * + * { margin-top: 16px; }
.legal__content h2 { font-size: 1.55rem; color: var(--ink); margin-top: 52px; scroll-margin-top: 100px; }
.legal__content h3 { font-size: 1.12rem; color: var(--ink); margin-top: 28px; letter-spacing: -.01em; }
.legal__content a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal__content a:hover { text-decoration-color: var(--ink); }
.legal__content ul { display: grid; gap: 8px; }
.legal__content ul li { position: relative; padding-left: 22px; }
.legal__content ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--lime-2); }
.legal__content strong { color: var(--ink); font-weight: 600; }
.legal__content code { font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.legal__content dl { display: grid; grid-template-columns: 170px 1fr; border-top: 1px solid var(--line); }
.legal__content dt, .legal__content dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__content dt { font-weight: 600; color: var(--ink); padding-right: 16px; }

.legal__intro { font-size: 1.15rem; color: var(--ink); }
.legal__summary { background: var(--lime-soft); border: 1px solid #dcef9f; border-radius: var(--radius); padding: 24px 26px; }
.legal__summary h3 { margin: 0 0 12px; }

.legal__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal__table th { font-weight: 600; color: var(--ink); background: var(--paper); }
.legal__table tr:last-child td { border-bottom: 0; }

/* Responsivo ------------------------------------------------------------ */

@media (max-width: 1080px) {
    .options { grid-template-columns: repeat(2, 1fr); }
    .features { gap: 48px; }
}

@media (max-width: 920px) {
    .nav__links { display: none; }
    .hero { padding-top: 120px; }
    .hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .hero__visual { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
    .steps { grid-template-columns: 1fr; }
    .section__head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
    .features { grid-template-columns: 1fr; }
    .panel { transform: none; max-width: 520px; }
    .plans { grid-template-columns: 1fr; }
    .faq { grid-template-columns: 1fr; gap: 0; }
    .faq .section__head { position: static; margin-bottom: 40px; }
    .legal { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
    .legal__toc { position: static; }
    .legal__toc ol { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .nav__inner { height: 66px; }
    .nav__cta { display: none; }
    .section { padding: 84px 0; }
    .hero__actions .btn { width: 100%; }
    .hero__url { font-size: .82rem; }
    .hero__visual { height: 520px; }
    .phone { width: 260px; height: 530px; right: 0; }
    .biz__cover { height: 90px; }
    .totem { transform: scale(.8); transform-origin: left bottom; bottom: 10px; }
    .options { grid-template-columns: 1fr; }
    .segments { gap: 10px 22px; }
    .segments li + li::before { display: none; }
    .cta { padding-bottom: 84px; }
    .cta__inner { padding: 64px 22px; border-radius: 28px; }
    .cta__actions { width: 100%; }
    .cta__actions .btn { width: 100%; white-space: normal; }
    .plan { padding: 28px 22px; }
    .plan__tag { position: static; align-self: flex-start; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }
    .footer__legal { flex-direction: column; text-align: center; }
    .legal-hero { padding: 110px 0 48px; }
    .legal__toc ol { grid-template-columns: 1fr; }
    .legal__content dl { grid-template-columns: 1fr; }
    .legal__content dt { padding-bottom: 0; border-bottom: 0; }
}
