/* OptSell, landing page. Cores da marca (as mesmas do app, css/mfa.css do frontend). */
:root {
    --purple: #61106a;
    --purple-dark: #3e0846;
    --purple-deep: #2a0530;
    --purple-soft: #f6eef8;
    --yellow: #f8bd00;
    --yellow-dark: #e0a800;
    --ink: #211625;
    --muted: #756b79;
    --border: #e7dfe9;
    --success: #16734b;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(42, 5, 48, 0.14);
    --shadow-sm: 0 6px 20px rgba(42, 5, 48, 0.08);
    --font-head: "Poppins", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 40px); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Botoes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: var(--purple-deep); box-shadow: 0 8px 22px rgba(248, 189, 0, .35); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-ghost { color: var(--purple); }
.btn-ghost:hover { background: var(--purple-soft); }
.btn-outline { border-color: var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* Cabecalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav > a:not(.btn):hover { color: var(--purple); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--purple); cursor: pointer; padding: 8px; }

/* Destaque */
.hero { background: radial-gradient(circle at 85% 10%, rgba(248, 189, 0, .18), transparent 40%), linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 60%, var(--purple-deep) 100%); color: var(--white); padding: 72px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.eyebrow-dark { color: var(--purple); }
.highlight { color: var(--yellow); }
.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .93rem; color: rgba(255, 255, 255, .85); }
.hero-proof i { color: var(--yellow); margin-right: 6px; }
.hero-shot { margin: 0; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
.hero-shot img, .feature-shot img, .gallery img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .25); }
.hero-shot figcaption { font-size: .78rem; color: rgba(255, 255, 255, .65); margin-top: 10px; text-align: right; }

/* Numeros */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--purple); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); }

/* Secoes */
.section { padding: 96px 0; }
.section-soft { background: var(--purple-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.steps { list-style: none; padding: 0; margin: 0 0 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step-number { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: var(--yellow); font-family: var(--font-head); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.feature-row { display: grid; grid-template-columns: .8fr 1.6fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text p { color: var(--muted); }
.feature-shot { margin: 0; }
.tag { display: inline-block; background: var(--purple); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.section-soft .tag { background: var(--purple); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--purple-deep); font-size: .65rem; display: grid; place-items: center; }

.gallery { display: grid; grid-template-columns: 1fr; gap: 28px; margin: -32px 0 88px; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 12px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 88px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.card i { font-size: 1.5rem; color: var(--purple); background: var(--purple-soft); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Precos */
.billing-switch { display: flex; width: fit-content; margin: 0 auto 40px; background: var(--purple-soft); border: 1px solid var(--border); border-radius: 12px; padding: 5px; gap: 4px; }
.billing-option { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 22px; border-radius: 9px; color: var(--muted); cursor: pointer; }
.billing-option.is-active { background: var(--purple); color: var(--white); box-shadow: 0 4px 12px rgba(97, 16, 106, .3); }
.billing-option .save { font-size: .72rem; font-weight: 700; background: var(--yellow); color: var(--purple-deep); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow-sm); }
.plan-featured { border: 2px solid var(--purple); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--purple-deep); font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; color: var(--purple); margin-bottom: 4px; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 8px 0 2px; }
.price .currency { font-weight: 700; color: var(--muted); }
.price .amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price .period { color: var(--muted); }
.price-note { font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.plan-features { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan-features li { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.plan-features li i { width: 22px; color: var(--success); }
.plan-features li.off { color: #b3aab6; }
.plan-features li.off i { color: #c9bfcc; }

.compare-wrap { margin-top: 56px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
.compare caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; padding: 18px 20px; background: var(--purple-soft); }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-top: 1px solid var(--border); font-size: .95rem; }
.compare thead th { background: var(--purple); color: var(--white); border-top: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 600; }
.compare .fa-check { color: var(--success); }
/* Platinum em destaque na comparacao (mensal e anual). */
.compare tbody td:last-child { background: var(--purple-soft); font-weight: 700; color: var(--purple); }
.compare thead th:last-child { background: var(--yellow); color: var(--purple-deep); }
.compare .fa-minus { color: #c9bfcc; }
.fine-print { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 18px; }

/* FAQ */
.faq details { background: var(--white); border-radius: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; }
.faq details[open] summary::after { content: "−"; background: var(--purple); color: var(--white); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contato */
.cta { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: var(--white); }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 20px 22px; color: var(--white); text-decoration: none; transition: background .2s ease; }
.contact-card:hover { background: rgba(255, 255, 255, .18); }
.contact-card i { font-size: 1.8rem; color: var(--yellow); width: 36px; text-align: center; }
.contact-card strong { display: block; font-size: .85rem; color: rgba(255, 255, 255, .75); font-weight: 600; }
.contact-card span { font-size: 1.1rem; font-weight: 700; }

/* Rodape */
.site-footer { background: var(--purple-deep); color: rgba(255, 255, 255, .7); padding: 40px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner img { height: 38px; width: auto; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-inner a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-inner a:hover { color: var(--yellow); }
.footer-inner p { width: 100%; margin: 0; font-size: .82rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); z-index: 60; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.06); }

/* Responsivo */
@media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--white); padding: 14px 20px 22px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); display: none; }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.btn) { padding: 10px 4px; }
    .hero { padding: 48px 0 84px; }
    .hero-inner, .feature-row, .cta-inner { grid-template-columns: 1fr; gap: 32px; }
    .feature-row.reverse .feature-text { order: 0; }
    .hero-shot { transform: none; }
    .gallery { grid-template-columns: 1fr; margin-top: 0; }
    .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .plan-featured { transform: none; }
    .section { padding: 72px 0; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .container, .container-narrow { width: calc(100% - 32px); }
    .steps, .cards-grid, .stats-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--border); }
    .stat:last-child { border-bottom: 0; }
    .hero-actions .btn { width: 100%; }
    .billing-option { padding: 10px 14px; }
    .brand img { height: 36px; }
}

/* Telas ampliaveis: toque ou clique abre a tela em tamanho real. */
.zoomable { position: relative; cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: inherit; font: inherit; color: inherit; }
.zoomable img { display: block; width: 100%; height: auto; }
.zoom-badge { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(33, 22, 37, .82); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.zoomable:hover .zoom-badge, .zoomable:focus-visible .zoom-badge { background: var(--purple); }
.zoomable:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: #140a18; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 56px 16px 16px; }
.lightbox-scroll img { display: block; width: min(1600px, 100%); height: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.lightbox-hint { display: none; margin: 0; padding: 10px 16px 16px; text-align: center; color: rgba(255, 255, 255, .75); font-size: .85rem; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 900px) {
    /* No celular a tela abre maior que a largura do aparelho, com rolagem para os lados:
       a letra fica no tamanho em que se le, e da para ampliar mais com os dedos. */
    .lightbox-scroll img { width: 1150px; max-width: none; margin: 0; }
    .lightbox-hint { display: block; }
}
