/* Me dá um Download — página de apresentação.
   Mesma estrutura da LP do Morpho, com a identidade do ganso encapuzado:
   roxo do capuz como cor de destaque e laranja do bico nos detalhes. */

:root {
    --bg: #ffffff;
    --soft: #f5f5f7;
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --faint: #86868b;
    --line: #d2d2d7;
    --hair: rgba(0, 0, 0, 0.08);
    --purple: #5d3f86;         /* capuz, em fundo claro */
    --purple-deep: #433052;
    --purple-bright: #b99af5;  /* capuz, em fundo escuro */
    --orange: #ff9d00;         /* bico */
    --green: #17a552;
    --radius: 28px;
    --max: 1080px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { fill: none; }

.wrap { width: min(var(--max), 100% - 44px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 44px); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- navegação ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 52px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.brand img { border-radius: 7px; }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; color: var(--ink); }
.nav-links a { transition: opacity .2s; }
.nav-links a:hover { opacity: .6; }
.nav-links .nav-cta {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
}
.nav-links .nav-cta:hover { opacity: .85; }

/* ---------- abertura ---------- */

.hero { text-align: center; padding: 58px 0 40px; position: relative; overflow: hidden; }

.hero h1 {
    font-size: clamp(2.7rem, 6.6vw, 4.9rem);
    letter-spacing: -0.055em;
    line-height: 1;
    margin: 0 0 20px;
}
.hero h1 .accent { display: block; color: var(--purple); }

.lead {
    max-width: 36rem;
    margin: 0 auto;
    font-size: clamp(1.1rem, 2vw, 1.32rem);
    letter-spacing: -0.02em;
    line-height: 1.32;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 28px; }

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: transform .2s, opacity .2s, background .2s;
}
.pill:hover { transform: scale(1.03); }
.pill:active { transform: scale(.98); }
.pill.light { background: #fff; color: #000; }
.pill.ghost { background: transparent; color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.pill.ghost:hover { background: rgba(255, 255, 255, .08); }

.text-link { font-size: 17px; letter-spacing: -0.02em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-note { margin-top: 18px; color: var(--faint); font-size: 13px; }
.hero-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Palco da ilustração do app */
.stage {
    position: relative;
    margin: 46px auto 0;
    padding: 46px 22px 0;
    max-width: 920px;
    border-radius: var(--radius) var(--radius) 0 0;
    background:
        radial-gradient(60% 80% at 18% 0%, rgba(93, 63, 134, .20), transparent 70%),
        radial-gradient(50% 70% at 88% 10%, rgba(255, 157, 0, .16), transparent 70%),
        var(--soft);
    overflow: hidden;
}

.appwin {
    max-width: 620px;
    margin: 0 auto;
    border-radius: 14px 14px 0 0;
    background: #f7f7f8;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 30px 70px -20px rgba(40, 20, 70, .35);
    text-align: left;
    font-size: 14px;
    letter-spacing: 0;
    overflow: hidden;
}
.appwin-bar {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px 0 14px;
    color: #6b6b76;
    font-size: 12px;
    font-weight: 600;
}
.appwin-bar img { border-radius: 4px; }
.appwin-ctl { margin-left: auto; display: flex; font-style: normal; color: #44444c; }
.appwin-ctl b { width: 40px; text-align: center; font-weight: 400; font-size: 12px; }

.appwin-body { height: 500px; padding: 4px 26px 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
/* O mascote, a saudação e o campo nunca encolhem; quem cede espaço é a lista. */
.appwin-mascot, .appwin-hello, .palette { flex: none; }
.appwin-mascot { width: 104px; height: auto; }
.appwin-hello { margin: 2px 0 14px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #18181b; }

.palette {
    width: 100%;
    background: #fff;
    border: 1px solid #e2e2e6;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
    overflow: hidden;
}
.field { height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; color: #a6a6b0; }
.field svg { flex: none; }
.field-text { min-width: 0; color: #18181b; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-text.is-empty { color: #a6a6b0; }
.field-text.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: #18181b; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* A área de resultado abre e fecha animando a altura (truque do grid). */
.result { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1); }
.result.open { grid-template-rows: 1fr; }
.result-in { min-height: 0; overflow: hidden; }
.result.open .result-in { border-top: 1px solid #e2e2e6; }
.result-info { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0 18px; }
.result-text { display: grid; min-width: 0; }
.result-text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-text small { color: #6b6b76; font-size: 12.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 14px 18px; }
.actions span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid #e2e2e6;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #18181b;
    transition: transform .15s, box-shadow .15s;
}
.actions span svg { width: 15px; height: 15px; }
.actions .primary { background: #18181b; border-color: transparent; color: #fff; }
.actions .pressed { transform: scale(.94); box-shadow: 0 0 0 4px rgba(93, 63, 134, .22); }

.badge {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #efeff1;
    color: #fff;
}
.badge svg { width: 20px; height: 20px; }
.badge.youtube { background: #ff0000; }
.badge.instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.badge.tiktok, .badge.x { background: #000; }
.badge.facebook { background: #0866ff; }
.badge.reddit { background: #ff4500; }
.badge.generic { color: #6b6b76; }

.rows { flex: 1 1 auto; min-height: 0; overflow: hidden; width: 100%; margin: 16px 0 0; padding: 0; list-style: none; }
.rows li {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 7px 6px;
    animation: row-in .4s cubic-bezier(.2, .8, .2, 1);
}
@keyframes row-in { from { opacity: 0; transform: translateY(-10px); } }
.rows .thumb { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #efeff1; color: #6b6b76; }
.rows .thumb svg { width: 19px; height: 19px; }
.rows b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows small { display: flex; align-items: center; gap: 5px; color: #6b6b76; font-size: 12px; font-variant-numeric: tabular-nums; }
.rows small svg { width: 13px; height: 13px; color: var(--green); }
.rows .bar { position: absolute; left: 58px; right: 8px; bottom: 1px; height: 2px; border-radius: 2px; background: #e2e2e6; overflow: hidden; }
.rows .bar i { display: block; width: 0; height: 100%; background: #18181b; transition: width .2s linear; }
.rows .done .bar { opacity: 0; transition: opacity .3s; }

/* ---------- frase de impacto ---------- */

.statement { padding: 104px 0 130px; }
.statement p {
    max-width: 21em;
    margin: 0 auto;
    font-size: clamp(1.7rem, 4.4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.1;
    text-align: center;
}
.statement .dim { color: var(--faint); }

/* ---------- seções ---------- */

.sec { padding: 110px 0; }
.sec.soft { background: var(--soft); }

.sec-head { max-width: 44rem; margin: 0 auto 54px; text-align: center; }
.sec-head h2, .split-text h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); letter-spacing: -0.05em; line-height: 1.05; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); letter-spacing: -0.02em; line-height: 1.35; }

.eyebrow { margin-bottom: 12px; color: var(--purple); font-size: 14px; font-weight: 600; letter-spacing: 0; }

/* Grade de recursos */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { padding: 34px; border-radius: var(--radius); background: #fff; }
.span-12 { grid-column: span 12; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.card h3 { font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1.15; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.42; }
.card-art { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.glyph { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: rgba(93, 63, 134, .1); color: var(--purple); }
.glyph svg { width: 26px; height: 26px; }
.sites-art { gap: 10px; }
.sites-art .badge { width: 48px; height: 48px; border-radius: 14px; }
.sites-art .badge svg { width: 26px; height: 26px; }
.card.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }

.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 11px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.chips svg { width: 15px; height: 15px; flex: none; }
.chips .more { background: rgba(93, 63, 134, .1); color: var(--purple); font-weight: 600; }
.c-youtube { color: #ff0000; }
.c-instagram { color: #e4405f; }
.c-tiktok, .c-x { color: #000; }
.c-facebook { color: #0866ff; }
.c-reddit { color: #ff4500; }
.c-pinterest { color: #bd081c; }
.c-vimeo { color: #1ab7ea; }
.c-twitch { color: #9146ff; }
.c-soundcloud { color: #ff5500; }
.c-bluesky { color: #0285ff; }

/* Passos */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 30px; border-radius: var(--radius); background: var(--soft); }
.step-n { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.35rem; letter-spacing: -0.04em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.42; }
kbd {
    display: inline-block;
    padding: 1px 7px;
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: 600 12.5px var(--font);
}

.table-card { margin-top: 18px; padding: 34px; border-radius: var(--radius); border: 1px solid var(--hair); }
.table-card h3 { font-size: 1.35rem; letter-spacing: -0.04em; margin-bottom: 10px; }
.spec { margin: 0; }
.spec > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--hair); }
.spec > div:first-child { border-top: 0; }
.spec dt { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.spec dt svg { width: 18px; height: 18px; flex: none; }
.spec dt .c-outros { color: var(--muted); }
.spec dd { margin: 0; color: var(--muted); }

/* Seções em duas colunas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.1rem; line-height: 1.42; }
.split-text .fine { font-size: 14px; color: var(--faint); }
.split-text strong { color: var(--ink); }



/* Aviso do Windows */
.clicks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.clicks li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.clicks span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }

.smart { padding: 30px 30px 26px; border-radius: 6px; background: #0b62c4; color: #fff; font-family: "Segoe UI", var(--font); letter-spacing: 0; box-shadow: 0 30px 70px -24px rgba(11, 98, 196, .55); }
.smart-title { font-size: 1.45rem; font-weight: 300; line-height: 1.2; }
.smart-text { margin-top: 14px; font-size: 14px; line-height: 1.45; opacity: .95; }
.smart-more { margin-top: 10px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.smart-meta { margin-top: 18px; font-size: 13px; line-height: 1.6; opacity: .95; }
.smart-actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.smart-actions span { padding: 6px 16px; border: 2px solid rgba(255, 255, 255, .55); font-size: 13.5px; }
.smart-actions .on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28); }

/* Perguntas */
.faq { border-radius: var(--radius); background: var(--soft); padding: 8px 30px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:first-child { border-top: 0; }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--faint); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40rem; }

/* ---------- chamada final ---------- */

.final { background: #000; color: #f5f5f7; text-align: center; padding: 110px 0 120px; position: relative; overflow: hidden; }
.final::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -360px;
    width: 900px;
    height: 700px;
    margin-left: -450px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(150, 110, 230, .30), rgba(150, 110, 230, .07) 55%, transparent);
    filter: blur(30px);
    pointer-events: none;
}
.final > * { position: relative; }
.final-mascot { width: 230px; height: auto; margin: 0 auto 14px; }
.final h2 { font-size: clamp(2.2rem, 6vw, 4.5rem); letter-spacing: -0.055em; line-height: 1.04; }
.final h2 .dim { display: block; color: var(--purple-bright); }
.final .sub { color: #a1a1a6; font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 20px auto 34px; max-width: 38rem; letter-spacing: -0.02em; line-height: 1.3; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.final .hero-note { color: #86868b; }

.care { background: var(--soft); padding: 70px 0; }
.care .box { max-width: 50rem; margin: 0 auto; text-align: center; }
.care h3 { font-size: 1.7rem; letter-spacing: -0.04em; }
.care p { color: var(--muted); margin-top: 12px; line-height: 1.45; }

footer { background: var(--soft); border-top: 1px solid var(--hair); padding: 26px 0 44px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
footer .wrap { display: grid; gap: 14px; }
footer .brand { color: var(--ink); font-size: 16px; justify-self: start; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink); font-size: 13px; }
footer .links a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer hr { border: 0; border-top: 1px solid var(--hair); margin: 2px 0; width: 100%; }

/* ---------- animações de entrada ---------- */

.reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .9s cubic-bezier(.2, .7, .1, 1), transform .9s cubic-bezier(.2, .7, .1, 1); }
.reveal.in { opacity: 1; transform: none; }
.rise { animation: rise .9s cubic-bezier(.2, .7, .1, 1) both; }
.rise:nth-child(2) { animation-delay: .08s; }
.rise:nth-child(3) { animation-delay: .16s; }
.rise:nth-child(4) { animation-delay: .22s; }
.rise:nth-child(5) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* Sem JavaScript, nada fica escondido. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .rise { opacity: 1; transform: none; transition: none; animation: none; }
    .rows li, .field-text.is-typing::after { animation: none; }
}

/* ---------- telas menores ---------- */

@media (max-width: 900px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .span-7, .span-5 { grid-column: span 12; }
    .span-4 { grid-column: span 6; }
    .card.wide { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
    body { font-size: 16px; }
    .hero { padding-top: 44px; }
    .statement { padding: 70px 0 90px; }
    .sec { padding: 78px 0; }
    .sec-head { margin-bottom: 38px; }
    .final { padding: 96px 0 90px; }
    .span-4 { grid-column: span 12; }
    .card, .steps li, .table-card { padding: 26px; }
    .stage { padding: 30px 12px 0; margin-top: 38px; }
    .appwin-body { height: 440px; padding: 4px 14px 0; }
    .spec > div { grid-template-columns: 1fr; gap: 2px; }
    .faq { padding: 4px 22px; }
}

@media (max-width: 560px) {
    .wrap, .wrap.narrow { width: calc(100% - 32px); }
    .hero-cta .pill, .final-cta .pill { width: 100%; }
    .final-mascot { width: 190px; }
    .brand span { font-size: 15px; }
    .appwin-ctl b { width: 30px; }
    .actions span { height: 32px; padding: 0 10px; font-size: 12.5px; }
}
