:root {
  --black: #0a0705; --black-2: #14100a; --ink: #1f1811;
  --gold: #c9a04a; --gold-soft: #e6b76d;
  --gold-line: rgba(201, 160, 74, 0.28);
  --gold-glow: rgba(230, 183, 109, 0.15);
  --paper: #f4ede0; --paper-2: #ebe0cc; --cream: #faf4ea;
  --terra: #8b6f47; --muted: #7a6a5c;
  --line: rgba(139, 111, 71, 0.18);
  --shadow-soft: 0 10px 40px -20px rgba(20, 12, 4, 0.35);
  --shadow-gold: 0 10px 40px -18px rgba(201, 160, 74, 0.55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-weight: 400; }
h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terra); }
a { color: var(--terra); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 999px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; cursor: pointer; border: none; transition: all .25s ease; text-decoration: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%); color: var(--black); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 46px -14px rgba(230, 183, 109, 0.7); color: var(--black); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-line); }
.btn-ghost:hover { background: var(--gold-glow); color: var(--gold-soft); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--black); color: var(--gold-soft); }
.card { background: #fff; border: 1px solid var(--gold-line); border-radius: 18px; overflow: hidden; transition: all .3s ease; box-shadow: var(--shadow-soft); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -22px rgba(20, 12, 4, 0.4); border-color: var(--gold); }
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; background: var(--paper); border-right: 1px solid var(--line); padding: 32px 20px; display: flex; flex-direction: column; z-index: 50; }
.sidebar .brand { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; color: var(--ink); padding: 0 14px 32px; border-bottom: 1px solid var(--line); margin-bottom: 24px; letter-spacing: -0.01em; }
.sidebar .brand em { color: var(--terra); font-style: italic; display: block; font-size: 13px; margin-top: 2px; font-family: 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--terra); font-size: 15px; font-weight: 500; transition: all .2s; }
.side-nav a:hover { background: rgba(201, 160, 74, 0.1); color: var(--ink); }
.side-nav a.active { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%); color: var(--black); font-weight: 600; box-shadow: 0 4px 14px -6px rgba(201, 160, 74, 0.6); }
.side-nav .icon { width: 20px; height: 20px; flex-shrink: 0; }
.sidebar .foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); padding-left: 14px; }
.main-content { margin-left: 260px; min-height: 100vh; padding: 40px 48px; }
@media (max-width: 900px) { .sidebar { transform: translateX(-100%); transition: transform .3s; } .sidebar.open { transform: translateX(0); } .main-content { margin-left: 0; padding: 24px 20px 80px; } .mobile-toggle { display: inline-flex !important; } }
.mobile-toggle { display: none; position: fixed; top: 16px; left: 16px; z-index: 100; background: var(--ink); color: var(--gold); width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; border: none; cursor: pointer; }
.progress-track { height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%); border-radius: 999px; transition: width .8s ease; }
.locked-card { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #2a1e14 0%, #14100a 100%); border: 1px solid var(--gold-line); cursor: pointer; transition: transform .3s ease; text-decoration: none; display: block; }
.locked-card:hover { transform: translateY(-4px) scale(1.02); }
.locked-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(4px) brightness(0.5) saturate(0.7); transform: scale(1.1); }
.locked-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,7,5,0.55) 0%, rgba(10,7,5,0.9) 100%); padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.locked-card .badge { align-self: flex-start; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; padding: 5px 10px; background: rgba(10, 7, 5, 0.6); border: 1px solid var(--gold-line); border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.locked-card .title { font-family: 'Playfair Display', serif; color: var(--cream); font-size: 16px; font-weight: 500; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.em-breve-cover { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; }
.em-breve-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-breve-cover::after { content: ''; position: absolute; inset: 0; background: rgba(10, 7, 5, 0.7); }
.em-breve-cover .breve-selo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; color: var(--gold-soft); letter-spacing: 0.18em; text-transform: uppercase; padding: 12px 24px; border: 1px solid var(--gold); border-radius: 4px; z-index: 2; text-shadow: 0 2px 12px rgba(0,0,0,0.8); background: rgba(10, 7, 5, 0.6); backdrop-filter: blur(2px); }
.hero-land { position: relative; min-height: 92vh; background: radial-gradient(ellipse at 30% 20%, #1a1108 0%, #0a0705 60%); color: var(--cream); display: flex; align-items: center; overflow: hidden; }
.hero-land::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 70% 60%, rgba(201, 160, 74, 0.18) 0%, transparent 55%); }
.hero-land .wrap { position: relative; z-index: 2; padding: 80px 24px; }
.hero-land h1 { color: var(--cream); font-size: clamp(38px, 6vw, 72px); font-weight: 300; margin-bottom: 24px; max-width: 900px; }
.hero-land h1 em { color: var(--gold-soft); font-weight: 300; }
.hero-land .lede { font-size: 19px; color: rgba(250, 244, 234, 0.75); max-width: 620px; margin-bottom: 40px; }
.hero-land .eyebrow { color: var(--gold-soft); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.foot-land { background: var(--black); color: rgba(250, 244, 234, 0.55); padding: 50px 24px; text-align: center; font-size: 13px; }
.foot-land a { color: var(--gold-soft); }
.pp-banner { background: linear-gradient(135deg, #14100a 0%, #241812 60%, #3a2818 100%); border-radius: 24px; padding: 40px; color: var(--cream); position: relative; overflow: hidden; border: 1px solid var(--gold-line); box-shadow: var(--shadow-gold); }
.pp-banner::before { content: ''; position: absolute; top: -50%; right: -30%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(230,183,109,0.14) 0%, transparent 60%); pointer-events: none; }
.pp-banner .banner-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; position: relative; z-index: 2; }
.pp-banner .banner-tag { color: var(--gold-soft); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.pp-banner h2 { color: var(--cream); font-size: clamp(24px, 3vw, 34px); font-weight: 300; max-width: 720px; margin-bottom: 14px; position: relative; z-index: 2; }
.pp-banner h2 em { color: var(--gold-soft); }
.pp-banner .banner-sub { color: rgba(250, 244, 234, 0.75); font-size: 16px; max-width: 700px; margin-bottom: 32px; position: relative; z-index: 2; }
.locked-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 32px; position: relative; z-index: 2; }
@media (max-width: 900px) { .locked-grid { grid-template-columns: repeat(3, 1fr); } .pp-banner { padding: 28px 22px; } }
@media (max-width: 520px) { .locked-grid { grid-template-columns: repeat(2, 1fr); } }
.pp-banner .cta-row { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }
.modulos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 40px; }
.mod-card { background: var(--paper); border: 1px solid var(--gold-line); border-radius: 16px; overflow: hidden; transition: transform .3s; }
.mod-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.mod-card .cover { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.mod-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.mod-card .body { padding: 18px; }
.mod-card .num { font-family: 'Playfair Display', serif; font-size: 12px; letter-spacing: 0.2em; color: var(--terra); text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.mod-card .name { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--ink); font-weight: 500; }
.section { padding: 90px 0; }
.section .eyebrow { color: var(--terra); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; max-width: 820px; margin-bottom: 18px; }
.login-shell { min-height: 100vh; background: radial-gradient(ellipse at 50% 30%, #1a1108 0%, #0a0705 70%); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card { background: var(--cream); border-radius: 20px; padding: 50px 44px; max-width: 440px; width: 100%; border: 1px solid var(--gold-line); box-shadow: 0 30px 90px -30px rgba(0,0,0,0.6); }
.login-card h1 { font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.login-card .sub { color: var(--muted); margin-bottom: 32px; font-size: 15px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 15px; background: #fff; color: var(--ink); transition: border-color .2s; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.error-msg { background: #fef2f2; color: #991b1b; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; display: none; }
.error-msg.show { display: block; }
.portal-header { margin-bottom: 40px; }
.portal-header .greet { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 400; margin-bottom: 6px; }
.portal-header .greet em { color: var(--terra); }
.portal-header .sub { color: var(--muted); font-size: 15px; }
.progress-card { background: var(--paper); border: 1px solid var(--gold-line); border-radius: 16px; padding: 24px 28px; margin-bottom: 40px; display: flex; align-items: center; gap: 24px; }
.progress-card .info { flex: 1; }
.progress-card .info .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: 6px; }
.progress-card .info .stat { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 400; margin-bottom: 12px; }
.modulos-portal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.mod-hero { background: linear-gradient(135deg, #14100a 0%, #24180e 100%); border-radius: 20px; padding: 44px; color: var(--cream); display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: center; margin-bottom: 40px; border: 1px solid var(--gold-line); }
.mod-hero h1 { color: var(--cream); font-size: clamp(28px, 4vw, 42px); font-weight: 300; margin-bottom: 14px; }
.mod-hero .num { color: var(--gold-soft); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.mod-hero .desc { color: rgba(250,244,234,0.8); font-size: 16px; line-height: 1.7; }
.mod-hero .cover { border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--gold-line); }
.mod-hero .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 780px) { .mod-hero { grid-template-columns: 1fr; padding: 28px; } .mod-hero .cover { max-width: 200px; margin: 0 auto; } }
.aulas-list { display: grid; gap: 16px; }
.aula-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; background: #fff; border: 1px solid var(--gold-line); border-radius: 14px; padding: 14px; align-items: center; transition: all .2s; text-decoration: none; color: var(--ink); }
.aula-item:hover { border-color: var(--gold); transform: translateX(4px); color: var(--ink); }
.aula-item .thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; }
.aula-item .info .num { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: 4px; }
.aula-item .info .title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; margin-bottom: 4px; line-height: 1.2; }
.aula-item .info .meta { color: var(--muted); font-size: 13px; }
.aula-item .action { font-size: 22px; color: var(--gold); padding-right: 12px; }
@media (max-width: 640px) { .aula-item { grid-template-columns: 1fr; } .aula-item .thumb { max-width: 100%; } }
.player-wrap { aspect-ratio: 16/9; background: var(--black); border-radius: 16px; overflow: hidden; margin-bottom: 32px; position: relative; border: 1px solid var(--gold-line); }
.player-wrap.em-breve { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #14100a 0%, #24180e 100%); }
.player-wrap.em-breve .breve-content { text-align: center; color: var(--cream); padding: 40px; }
.player-wrap.em-breve .breve-content .selo { font-family: 'Playfair Display', serif; font-size: 32px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 12px; }
.player-wrap.em-breve .breve-content .msg { color: rgba(250,244,234,0.7); font-size: 15px; }
.aula-body { max-width: 780px; }
.aula-body h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 400; margin-bottom: 12px; }
.aula-body .breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.aula-body .breadcrumb a { color: var(--terra); font-weight: 500; }
.aula-body .desc { color: var(--ink); font-size: 16px; line-height: 1.75; margin: 24px 0 40px; }
.materiais { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 40px; }
.mat-card { background: var(--paper); border: 1px solid var(--gold-line); border-radius: 12px; padding: 20px; text-align: center; }
.mat-card .mat-title { font-family: 'Playfair Display', serif; font-size: 16px; margin-bottom: 6px; }
.mat-card .mat-status { color: var(--muted); font-size: 13px; }
.nav-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.suporte-shell { max-width: 700px; }
.suporte-shell h1 { font-size: 32px; font-weight: 400; margin-bottom: 12px; }
.suporte-shell p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
