/* Fluentia — identidade compartilhada das páginas web */
:root {
  --brand: #4F46E5; --brand-deep: #3730A3; --brand-soft: #EEF2FF;
  --grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --ink: #1E293B; --ink-2: #475569; --ink-3: #64748B;
  --surface: #FCFCFB; --card: #fff; --line: #E2E8F0; --good: #047857;
  --wa: #16a34a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Noto Sans', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--surface); line-height: 1.6; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
section { padding: 72px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--brand); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }
h2.title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 8px 0 14px; }
p.lead { color: var(--ink-2); max-width: 640px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 14px; font-weight: 700; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(22,163,74,.28); }
.btn-brand { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(79,70,229,.28); }
.btn-ghost { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .96rem; }
.emoji { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.badge { display: inline-block; background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 999px; }
.badge.warn { background: #FEF3C7; color: #92400E; }
footer { padding: 40px 0 60px; color: var(--ink-3); font-size: .9rem; border-top: 1px solid var(--line); }
footer a { color: var(--brand); text-decoration: none; }
/* chat mockup */
.chat { background: #E7DFD5; border-radius: 22px; padding: 22px 16px; max-width: 380px; margin: 0 auto; box-shadow: 0 18px 40px rgba(30,41,59,.16); }
.chat .msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; margin-bottom: 10px; font-size: .88rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.chat .in { background: #fff; border-top-left-radius: 4px; }
.chat .out { background: #DCF8C6; margin-left: auto; border-top-right-radius: 4px; }
.chat .audio { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.chat .audio .bar { height: 4px; border-radius: 2px; background: #9CA3AF; flex: 1; position: relative; }
.chat .audio .bar::before { content: ""; position: absolute; inset: 0 40% 0 0; background: var(--wa); border-radius: 2px; }
/* forms */
.form-card { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.form-card label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 6px; }
.form-card input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 1rem; }
.form-card input:focus { outline: none; border-color: var(--brand); }
.form-card .btn { width: 100%; text-align: center; margin-top: 22px; border: none; font-size: 1rem; cursor: pointer; }
.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; padding: 10px 14px; border-radius: 10px; margin-top: 14px; font-size: .9rem; display: none; }
.notice { background: var(--brand-soft); color: var(--brand-deep); padding: 10px 14px; border-radius: 10px; margin-top: 14px; font-size: .9rem; }
/* header */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--brand-deep); text-decoration: none; }
.nav a.link { color: var(--ink-2); text-decoration: none; margin-left: 22px; font-weight: 600; font-size: .95rem; }
/* hero */
.hero { background: var(--grad); color: #fff; padding: 84px 0 92px; }
.hero .nav .logo, .hero .nav a.link { color: #fff; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 640px; margin: 40px 0 18px; }
.hero p { font-size: 1.15rem; opacity: .94; max-width: 560px; margin-bottom: 30px; }
.hero-flex { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.hero-flex > div:first-child { flex: 1 1 420px; }
/* aluno */
.tile-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.tile .k { font-size: .74rem; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tile .v { font-size: 1.5rem; font-weight: 800; color: var(--brand-deep); margin-top: 4px; }
.bar-track { height: 10px; background: var(--brand-soft); border-radius: 6px; }
.bar-fill { height: 10px; background: var(--brand); border-radius: 6px; min-width: 6px; }
.lesson-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.lesson-row .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.done { background: var(--good); } .dot.now { background: var(--brand); } .dot.todo { background: #CBD5E1; }
.pill { font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.pill.done { background: #ECFDF5; color: var(--good); } .pill.now { background: var(--brand-soft); color: var(--brand-deep); } .pill.todo { background: #F1F5F9; color: var(--ink-3); }
@media (max-width: 640px) { section { padding: 52px 0; } .nav a.link { margin-left: 14px; } }
