/* English on Board · website (englishonboard.com.br) — same identity as the app (Nocturne). */
:root {
  --bg: #161826; --bg2: #1b1d2e; --card: #1f2233; --card2: #262a3f; --line: rgba(181,171,252,.16);
  --acc: #9184d9; --acc2: #b5abfc; --acc3: #6e60c4; --yel: #ffd84d; --text: #ecebf5; --muted: #a9a8c3; --ok: #6fd3a0;
  --r: 20px; --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 Inter, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--acc2); }
a:hover { color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
em.y { font-style: normal; color: var(--yel); }
em.a { font-style: normal; color: var(--acc2); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acc2); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px; font: 700 16px Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--acc), var(--acc3)); color: #fff; box-shadow: 0 10px 30px rgba(145,132,217,.35); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 36px rgba(145,132,217,.5); }
.btn-yel { background: var(--yel); color: #161826; box-shadow: 0 10px 30px rgba(255,216,77,.25); }
.btn-yel:hover { color: #161826; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(22,24,38,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand .logo { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #1b1d2c; box-shadow: 0 0 0 2px var(--acc2), 0 0 22px rgba(145,132,217,.45); flex: none; }
.brand b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.brand b span { color: var(--acc2); }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.brand b { white-space: nowrap; }
@media (max-width: 480px) { .brand small { display: none; } .brand b { font-size: 16px; } .hdr .wrap { gap: 10px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a.on { color: var(--text); background: rgba(255,255,255,.05); }
.lang { display: flex; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.lang a { padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang a.on { background: rgba(145,132,217,.25); color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; padding: 6px; }
@media (max-width: 920px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg2); padding: 12px 22px 22px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; } .nav a { padding: 12px 10px; font-size: 17px; }
  .menu-btn { display: block; } .hdr .cta-top { display: none; }
}
/* sections */
section { padding: 96px 0; position: relative; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 68px 0; } }
.card { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.card h3 { margin-top: 2px; }
.card .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; background: rgba(145,132,217,.16); color: var(--acc2); }
.card .ico.y { background: rgba(255,216,77,.14); color: var(--yel); }
.card ul { margin: 12px 0 18px; padding: 0; list-style: none; }
.card li { padding: 5px 0 5px 28px; position: relative; color: var(--muted); font-size: 16px; }
.card li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.card.feature { box-shadow: inset 0 0 0 2px var(--acc), 0 20px 50px rgba(145,132,217,.18); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--yel); color: #161826; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 99px; letter-spacing: .04em; }
/* hero */
.hero { padding: 72px 0 90px; overflow: hidden; background: radial-gradient(60% 70% at 85% 30%, rgba(145,132,217,.28), transparent 70%), radial-gradient(40% 50% at 5% 0%, rgba(145,132,217,.14), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; } .hero .trust i { color: var(--yel); font-size: 18px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-art .glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(145,132,217,.45), transparent 65%); }
.hero-art img { position: absolute; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.bubble { position: absolute; background: var(--card); color: var(--text); font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 0 0 1px var(--line); white-space: nowrap; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 380px; order: -1; } .hero { padding-top: 36px; } }
/* steps */
.steps { counter-reset: s; }
.step { padding-top: 64px; } .step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; left: 26px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yel); color: #161826; font-weight: 900; }
/* app showcase */
.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.phone { width: 196px; border-radius: 30px; padding: 8px; background: #0e0f1a; box-shadow: 0 0 0 2px #2c2f48, 0 30px 60px rgba(0,0,0,.5); }
.phone img { border-radius: 23px; height: auto; aspect-ratio: 9/16; object-fit: cover; width: 100%; }
.phone.big { width: 222px; }
.phone figcaption { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 4px 2px; }
@media (max-width: 1100px) { .phone { width: 180px; } .phone.big { width: 180px; } }
@media (max-width: 640px) { .phones { gap: 12px; } .phone, .phone.big { width: calc(50% - 6px); } .phone:last-child { display: none; } }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat i { font-size: 24px; color: var(--yel); background: rgba(255,216,77,.12); width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.feat b { display: block; margin-bottom: 2px; } .feat p { color: var(--muted); font-size: 15px; margin: 0; }
/* teacher */
.teacher { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.teacher .pic { aspect-ratio: 1; border-radius: 28px; background: radial-gradient(circle at 50% 40%, rgba(145,132,217,.5), var(--card)); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); font-size: 96px; font-weight: 900; color: var(--acc2); }
@media (max-width: 760px) { .teacher { grid-template-columns: 1fr; } .teacher .pic { max-width: 220px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(145,132,217,.16); color: var(--acc2); }
/* faq */
.faq details { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acc2); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }
/* cta band */
.band { border-radius: 28px; padding: 54px 40px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(145,132,217,.45), var(--card) 70%); box-shadow: inset 0 0 0 1px var(--line); }
.band h2 { margin-bottom: 12px; } .band .btns { justify-content: center; margin-top: 24px; }
/* footer */
.ftr { border-top: 1px solid var(--line); padding: 50px 0 34px; color: var(--muted); font-size: 15px; }
.ftr .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.ftr h4 { color: var(--text); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.ftr a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; } .ftr a:hover { color: var(--text); }
.ftr a.brand { display: flex; }
.ftr .legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .ftr .cols { grid-template-columns: 1fr 1fr; } }
/* floating whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 12px 30px rgba(0,0,0,.4); text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--acc), 0 20px 40px rgba(0,0,0,.3); color: var(--text); }
.post-card .cover { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; overflow: hidden; }
.post-card .cover img { width: 34%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc2); }
.post-card h3 { font-size: 20px; margin: 0; } .post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-card .meta { margin-top: auto; font-size: 13px; color: var(--muted); padding-top: 8px; }
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.article h1 { font-size: clamp(34px, 5vw, 52px); }
.article h2 { font-size: 28px; margin-top: 1.6em; }
.article h3 { font-size: 21px; margin-top: 1.4em; }
.article p, .article li { color: #d9d8e8; font-size: 18px; }
.article ul, .article ol { padding-left: 1.3em; } .article li { margin: 6px 0; }
.article blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: 14px; background: var(--card); box-shadow: inset 4px 0 0 var(--yel); color: var(--text); }
.article blockquote p { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: var(--acc2); font-size: 14px; letter-spacing: .04em; }
.article code { background: var(--card2); padding: 2px 7px; border-radius: 6px; font-size: .92em; }
.article .wrong { color: #ff9aa8; text-decoration: line-through; text-decoration-color: rgba(255,154,168,.6); }
.article .right { color: var(--ok); font-weight: 700; }
.article .cta-box { margin: 2.2em 0 0; padding: 28px; border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, rgba(145,132,217,.35), var(--card) 70%); box-shadow: inset 0 0 0 1px var(--line); }
.article .cta-box h3 { margin-top: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; } .crumbs a { color: var(--muted); }
.page-hero { padding: 64px 0 30px; background: radial-gradient(60% 80% at 80% 0%, rgba(145,132,217,.22), transparent 70%); }
:focus-visible { outline: 3px solid var(--yel); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
