/* =========================================================
   Home pública — mesma linguagem do app (creme, coral, cards)
   ========================================================= */
.wrap-w { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sec { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.035em; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: .35rem .8rem; border-radius: 99px; margin-bottom: 1rem; }

/* Navbar */
.hnav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hnav.scrolled { border-bottom-color: var(--line); }
.hnav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hnav-links { display: flex; gap: .3rem; background: var(--card); border: 1px solid var(--line); padding: .3rem; border-radius: 14px; }
.hnav-links a { padding: .45rem .9rem; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--text-2); }
.hnav-links a:hover { background: var(--card-2); color: var(--text); }
.hnav-cta { display: flex; gap: .5rem; align-items: center; }
@media (max-width: 900px) { .hnav-links { display: none; } }
@media (max-width: 480px) { .hnav-cta .btn-ghost { display: none; } }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 620px; z-index: -1;
  background: radial-gradient(50% 60% at 75% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), radial-gradient(40% 50% at 15% 10%, color-mix(in srgb, var(--warn) 16%, transparent), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.045em; line-height: 1.03; margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: currentColor; opacity: .18; border-radius: 9px; }
.hero .lead { font-size: 1.12rem; color: var(--text-2); max-width: 32em; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.trust { display: flex; align-items: center; gap: .9rem; font-size: .85rem; color: var(--muted); }
.faces { display: flex; }
.faces span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.faces span:first-child { margin-left: 0; }
.trust b { color: var(--text); }

/* Mockup do app no hero */
.mock { background: var(--outer); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ef6a5f; }
.mock-bar i:nth-child(2) { background: #f5bd4f; } .mock-bar i:nth-child(3) { background: #5fc454; }
.mock-bar .url { margin: 0 auto; font-size: .7rem; color: var(--muted); background: var(--card); padding: .2rem 1.2rem; border-radius: 8px; border: 1px solid var(--line); }
.mock-app { display: grid; grid-template-columns: 130px 1fr; background: var(--bg); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); font-size: .7rem; }
.mock-side { background: var(--side); padding: .9rem .6rem; display: flex; flex-direction: column; gap: .3rem; border-right: 1px solid var(--line); }
.mock-side .brand { font-size: .74rem; margin-bottom: .6rem; white-space: nowrap; } .mock-side .brand-mark { width: 20px; height: 20px; border-radius: 6px; } .mock-side .brand-mark svg { width: 12px; height: 12px; }
.mock-side a { display: flex; align-items: center; gap: .45rem; padding: .45rem .55rem; border-radius: 8px; font-weight: 600; color: var(--text-2); }
.mock-side a.on { background: var(--pill); color: var(--on-pill); }
.mock-side .ic { width: 12px; height: 12px; }
.mock-main { padding: .9rem; }
.mock-main h4 { font-size: .95rem; margin: 0 0 .6rem; }
.mock-tabs { display: flex; gap: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .7rem; color: var(--muted); font-weight: 600; }
.mock-tabs span { padding-bottom: .35rem; } .mock-tabs .on { color: var(--text); border-bottom: 2px solid var(--accent); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mock-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .35rem; }
.mock-card .cover { border-radius: 7px; } .mock-card .cover .flag { left: .4rem; bottom: .35rem; } .mock-card .flag-img { width: 22px; height: 15px; border-radius: 4px; border-width: 1px; } .mock-card .cover .cover-label { display: none; }
.mock-card b { display: block; font-size: .68rem; margin: .4rem .15rem .25rem; }
.mock-card .bar { height: 4px; margin: 0 .15rem .2rem; }
.mock-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: .5rem; margin-top: .6rem; }
.mock-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem; display: flex; align-items: center; gap: .55rem; }
.mock-box .ring { --size: 38px; --w: 4px; font-size: .58rem; }
.mock-box b { display: block; font-size: .7rem; } .mock-box span { color: var(--muted); font-size: .6rem; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow-lg); display: flex; gap: .6rem; align-items: center; font-size: .8rem; animation: bob 5s ease-in-out infinite; }
.float b { display: block; font-size: .85rem; } .float span { color: var(--muted); font-size: .72rem; }
.float .stat-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.float.f1 { left: -28px; bottom: 40px; } .float.f2 { right: -10px; top: 28px; animation-delay: -2.5s; }
.float.f2 .stat-ic { background: var(--accent-soft); color: var(--accent); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.mock-wrap { position: relative; }
@media (max-width: 980px) { .hero-in { grid-template-columns: 1fr; } .mock { transform: none; } .float.f1 { left: 8px; } .float.f2 { right: 8px; } }
@media (max-width: 560px) { .mock-app { grid-template-columns: 1fr; } .mock-side { display: none; } .float { display: none; } }

/* Faixa de números */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.numbers div { padding: 1.5rem; text-align: center; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; }
.numbers b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.numbers span { color: var(--muted); font-size: .85rem; font-weight: 600; }
@media (max-width: 700px) { .numbers { grid-template-columns: 1fr 1fr; } .numbers div:nth-child(3) { border-left: 0; } .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Cards de feature */
.feat { padding: 1.6rem; }
.feat .stat-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem; }
.feat h3 { font-size: 1.15rem; }
.feat p { color: var(--muted); margin: 0; font-size: .93rem; }

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
.step { position: relative; padding: 1.4rem 1.2rem; }
.step .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--pill); color: var(--on-pill); margin-bottom: 1rem; }
.step h3 { font-size: 1rem; } .step p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Bloco escuro de portões */
.dark-band { background: #1c1a17; color: #f4efe8; border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); }
:root[data-theme="dark"] .dark-band { background: var(--card); border: 1px solid var(--line); }
.dark-band .sec-head p { color: #a9a196; }
.gates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gate { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 1.3rem; }
.gate .ic { color: #f3b562; margin-bottom: .9rem; width: 24px; height: 24px; }
.gate h3 { color: #fff; font-size: 1rem; } .gate p { color: #a9a196; font-size: .86rem; margin: 0; }
.gate .q { font-size: .72rem; font-weight: 800; color: #f3b562; letter-spacing: .08em; text-transform: uppercase; margin-top: .9rem; display: block; }
@media (max-width: 1000px) { .gates { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gates { grid-template-columns: 1fr; } }

/* Trilhas (cards do app) */
.h-course { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; box-shadow: var(--shadow); transition: transform .18s; }
.h-course:hover { transform: translateY(-4px); }
.h-course .body { padding: .85rem .4rem .45rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.h-course h3 { margin: 0; font-size: .98rem; }

/* Tela da aula (showcase) */
.showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.checks li .ic { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); flex: none; }
.checks li span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.mini-lesson { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1rem; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.4fr 1fr; gap: .9rem; }
.mini-lesson .player { border-radius: 14px; }
.mini-lesson .player .big-play { width: 52px; height: 52px; } .mini-lesson .player .big-play .ic { width: 20px; height: 20px; }
.mini-list { display: flex; flex-direction: column; gap: .4rem; }
.mini-list .lesson { padding: .5rem .55rem; border-color: var(--line); background: var(--card); }
.mini-list .lesson .t b { font-size: .76rem; } .mini-list .lesson .t span { font-size: .66rem; }
.mini-list .lesson .n { width: 22px; height: 22px; font-size: .64rem; }
@media (max-width: 980px) { .showcase { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mini-lesson { grid-template-columns: 1fr; } }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 860px; margin: 0 auto; }
.plan { padding: 2rem; position: relative; display: flex; flex-direction: column; }
.plan.pro { background: var(--pill); color: var(--on-pill); border-color: var(--pill); }
.plan.pro .muted, .plan.pro li { color: color-mix(in srgb, var(--on-pill) 72%, transparent); }
.plan .tag { position: absolute; top: 1.6rem; right: 1.6rem; }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; margin: .6rem 0 .2rem; }
.plan .price small { font-size: .95rem; font-weight: 600; opacity: .6; }
.plan ul { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-size: .92rem; color: var(--text-2); }
.plan li .ic { color: var(--ok); width: 18px; height: 18px; margin-top: .15rem; }
.plan.pro li .ic { color: #f3b562; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.guarantee { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.4rem; color: var(--muted); font-size: .88rem; }
.guarantee .ic { color: var(--ok); }

/* Depoimentos */
.quote { padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.quote .stars { color: #f0a92e; display: flex; gap: 2px; } .quote .stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.quote p { margin: 0; font-size: 1rem; color: var(--text); flex: 1; }
.quote .who { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote .who b { display: block; font-size: .9rem; } .quote .who span { font-size: .78rem; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-grid .sec-head { text-align: left; margin: 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: .7rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.2rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* CTA final */
.final { background: var(--accent); color: #fff; border-radius: 32px; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.final::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(#fff 1px, transparent 1.4px); background-size: 16px 16px; }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.final p { opacity: .85; max-width: 520px; margin: 0 auto 1.6rem; }
.final .btn { background: #fff; color: #1c1a17; }
.final small { display: block; margin-top: 1.4rem; opacity: .75; font-size: .78rem; }

.hfoot { padding: 2.5rem 0 3rem; color: var(--muted); font-size: .86rem; }
.hfoot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.hfoot nav { display: flex; gap: 1.4rem; }
.hfoot a:hover { color: var(--text); }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
