/* =====================================================================
   O2 BJJ THEME — DESIGN SYSTEM
   Preto / Branco / Off-white / Azul O2. Sem etapa de build no servidor.
   ===================================================================== */

:root {
	--o2-black: #0a0a0a;
	--o2-white: #ffffff;
	--o2-offwhite: #f2f2f0;
	--o2-blue: #2563eb;
	--o2-blue-dark: #1d4ed8;
	--o2-gray-500: #6b7280;
	--o2-gray-300: #d4d4d4;
	--o2-gray-800: #262626;
	--o2-radius: 10px;
	--o2-container: 1280px;
	--o2-gap: 24px;
	--o2-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--o2-header-height: 78px;
}

html {
	scroll-behavior: smooth;
}

/* Todo elemento com id (nossas seções-âncora: #academy-os, #transformer, #programas,
   #o-mestre, #o2-student, #aulas) recebe uma folga no topo do tamanho do cabeçalho fixo.
   Sem isso, clicar num item do menu rola a página, mas a seção some atrás do header
   sticky — dando a impressão de que "nada aconteceu" ao clicar. */
[id] {
	scroll-margin-top: var(--o2-header-height);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

* { box-sizing: border-box; }

body.o2-body,
body {
	font-family: var(--o2-font);
	margin: 0;
	color: var(--o2-black);
	background: var(--o2-white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.o2-container {
	max-width: var(--o2-container);
	margin: 0 auto;
	padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------------------------- */
/* TYPE                                                               */
/* ---------------------------------------------------------------- */

.o2-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--o2-blue);
	margin-bottom: 12px;
	text-transform: uppercase;
}
.o2-eyebrow--onDark { color: #5b8bff; }

.o2-h1 {
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 900;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin: 0 0 20px;
}

.o2-h2 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
}
.o2-h2--onDark { color: var(--o2-white); }

.o2-accent { color: var(--o2-blue); }
.o2-lead { color: var(--o2-gray-500); font-size: 15px; line-height: 1.6; max-width: 460px; }
.o2-lead--onDark { color: #a3a3a3; }

/* ---------------------------------------------------------------- */
/* HEADER                                                             */
/* ---------------------------------------------------------------- */

.o2-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,0.97);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(6px);
}
.o2-header.is-scrolled { border-color: #eee; }

.o2-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.o2-logo { display: flex; align-items: center; gap: 10px; }
.o2-logo__mark { font-size: 30px; font-weight: 900; line-height: 1; }
.o2-logo__mark sup { color: var(--o2-blue); font-size: 15px; }
.o2-logo__text { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }

.o2-nav--desktop { display: none; }
.o2-nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.o2-nav__list li { margin-right: 32px; }
.o2-nav__list li:last-child { margin-right: 0; }
.o2-nav__list a { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.o2-nav__list a:hover { color: var(--o2-blue); }

.o2-header__actions { display: none; align-items: center; gap: 22px; }
.o2-link { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.o2-nav__toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.o2-nav__toggle span { width: 22px; height: 2px; background: var(--o2-black); display: block; }

.o2-nav--mobile { display: none; flex-direction: column; padding: 12px 24px 24px; background: var(--o2-white); border-top: 1px solid #eee; }
.o2-nav--mobile.is-open { display: flex; }
.o2-nav--mobile .o2-nav__list { flex-direction: column; gap: 4px; }
.o2-nav--mobile .o2-nav__list li { margin-right: 0; }
.o2-nav--mobile .o2-nav__list a { display: block; padding: 10px 0; }
.o2-nav--mobile__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

@media (min-width: 1024px) {
	.o2-nav--desktop { display: block; }
	.o2-header__actions { display: flex; }
	.o2-nav__toggle { display: none; }
}

/* ---------------------------------------------------------------- */
/* BUTTONS                                                            */
/* ---------------------------------------------------------------- */

.o2-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.o2-btn--primary { background: var(--o2-blue); color: #fff; }
.o2-btn--primary:hover { background: var(--o2-blue-dark); }
.o2-btn--outline { border-color: #d4d4d4; color: var(--o2-black); }
.o2-btn--outline:hover { border-color: var(--o2-blue); color: var(--o2-blue); }

.o2-cta-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--o2-blue); }
.o2-cta-link:hover { color: var(--o2-blue-dark); }

/* ---------------------------------------------------------------- */
/* SECTIONS                                                           */
/* ---------------------------------------------------------------- */

.o2-section { padding: 72px 0; }
.o2-section--dark { background: var(--o2-black); }
.o2-section--light { background: var(--o2-white); }
.o2-section--offwhite { background: var(--o2-offwhite); }
.o2-section--white { background: var(--o2-white); }

.o2-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }

/* ---------------------------------------------------------------- */
/* HERO                                                               */
/* ---------------------------------------------------------------- */

.o2-hero { background: linear-gradient(to bottom, #fafafa, #fff); overflow: hidden; }
.o2-hero__grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 56px 24px 72px; align-items: start; }
.o2-hero__subtitle { font-size: 13px; font-weight: 700; color: var(--o2-gray-500); letter-spacing: 0.03em; margin: 0 0 8px; }
.o2-hero__note { font-size: 14px; color: var(--o2-black); font-weight: 600; max-width: 420px; margin: 0 0 28px; }
.o2-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.o2-hero__scroll { display: none; align-items: center; gap: 10px; margin-top: 56px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--o2-gray-500); }
.o2-hero__scroll span { width: 1px; height: 32px; background: var(--o2-blue); display: block; }

.o2-hero__visual { position: relative; height: 420px; overflow: visible; }
.o2-hero__lines { position: absolute; top: -10%; right: -15%; width: 130%; height: 130%; color: var(--o2-blue); pointer-events: none; z-index: 0; }
.o2-hero__ring { position: absolute; top: 2%; right: -4%; width: 46vw; height: 46vw; max-width: 300px; max-height: 300px; border: 2px solid rgba(37,99,235,0.45); border-radius: 50%; z-index: 0; }
.o2-hero__ghost { position: absolute; bottom: -2%; right: -6%; font-size: 24vw; font-weight: 900; color: rgba(37,99,235,0.14); line-height: 1; z-index: 0; pointer-events: none; }
.o2-hero__ghost sup { font-size: 0.42em; }
.o2-hero__figure { position: relative; z-index: 1; width: 258px; height: 100%; margin: 0 8% 0 auto; display: block; filter: drop-shadow(0 14px 28px rgba(0,0,0,0.18)); }
.o2-hero__figure--photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 4px; }

@media (min-width: 1024px) {
	.o2-hero__grid { grid-template-columns: 1fr 1.05fr; padding: 80px 24px 96px; }
	.o2-hero__scroll { display: flex; }
	.o2-hero__visual { height: 580px; }
	.o2-hero__ghost { font-size: 16vw; }
	.o2-hero__figure { width: 356px; margin-right: 10%; }
}

/* ---------------------------------------------------------------- */
/* PROGRAMS (cards scroll)                                            */
/* ---------------------------------------------------------------- */

.o2-cards-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.o2-program-card {
	position: relative;
	flex: 0 0 240px;
	height: 320px;
	border-radius: var(--o2-radius);
	overflow: hidden;
	background: linear-gradient(135deg, #2a2a2a, #050505);
	scroll-snap-align: start;
	transition: transform .3s ease;
}
.o2-program-card:hover { transform: translateY(-4px); }
.o2-program-card__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); }
.o2-program-card__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.o2-program-card__num { color: #5b8bff; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.o2-program-card__body h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; margin: 0 0 8px; }
.o2-program-card__body p { font-size: 12px; color: #d4d4d4; margin: 0 0 16px; max-width: 85%; }
.o2-arrow { font-size: 18px; }

/* ---------------------------------------------------------------- */
/* O MESTRE                                                           */
/* ---------------------------------------------------------------- */

.o2-master__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.o2-master__photo { display: none; }
.o2-master__frame { width: 100%; aspect-ratio: 3/4; background: linear-gradient(160deg, #1a1a1a, #3a3a3a); border-radius: var(--o2-radius); }
.o2-master__frame--photo { object-fit: cover; background: none; }
.o2-master__role { font-weight: 700; color: var(--o2-blue); text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; margin: 0 0 16px; }
.o2-master__bio { color: var(--o2-gray-500); line-height: 1.7; max-width: 560px; margin: 0 0 20px; }

@media (min-width: 900px) {
	.o2-master__grid { grid-template-columns: 0.8fr 1.2fr; }
	.o2-master__photo { display: block; }
}

/* ---------------------------------------------------------------- */
/* ACADEMY OS                                                         */
/* ---------------------------------------------------------------- */

.o2-academyos__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.o2-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.o2-pillar__num { display: block; color: var(--o2-blue); font-weight: 800; margin-bottom: 10px; }
.o2-pillar h3 { font-size: 16px; font-weight: 900; text-transform: uppercase; margin: 0 0 8px; }
.o2-pillar p { font-size: 13px; color: var(--o2-gray-500); line-height: 1.6; margin: 0; }

@media (min-width: 900px) {
	.o2-academyos__grid { grid-template-columns: 0.85fr 1.15fr; }
	.o2-pillars { grid-template-columns: repeat(4, 1fr); }
	.o2-pillar { padding-left: 20px; border-left: 1px solid #ddd; }
	.o2-pillar:first-child { padding-left: 0; border-left: none; }
}

/* ---------------------------------------------------------------- */
/* FILIAÇÃO (Abrir Academia / Faixa-Preta) — dentro de O2 Academy OS  */
/* ---------------------------------------------------------------- */

.o2-affiliation-panel {
	background: var(--o2-black);
	border-radius: 16px;
	padding: 32px;
	max-width: 720px;
	margin: 0 auto;
}
.o2-affiliation-panel__tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.o2-affiliation-tab {
	flex: 1;
	min-width: 200px;
	padding: 14px 16px;
	border-radius: 8px;
	border: 1px solid #2a2a2a;
	background: transparent;
	color: #999;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
}
.o2-affiliation-tab.is-active { background: var(--o2-blue); border-color: var(--o2-blue); color: #fff; }

.o2-affiliation-form { display: none; }
.o2-affiliation-form.is-active { display: block; }
.o2-affiliation-form h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.o2-affiliation-form .o2-lead--onDark, .o2-affiliation-form .o2-lead { color: #999; max-width: none; margin-bottom: 20px; }

.o2-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media (min-width: 640px) { .o2-form-grid { grid-template-columns: 1fr 1fr; } }
.o2-form-grid label, .o2-form-full {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #ccc;
}
.o2-form-full { margin-bottom: 16px; }
.o2-affiliation-form input, .o2-affiliation-form select, .o2-affiliation-form textarea {
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #333;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	font-family: var(--o2-font);
}
.o2-affiliation-form__feedback { margin-top: 14px; font-size: 13px; font-weight: 700; min-height: 18px; }
.o2-affiliation-form__feedback.is-success { color: #22c55e; }
.o2-affiliation-form__feedback.is-error { color: #f87171; }

/* ---------------------------------------------------------------- */
/* TRANSFORMER                                                        */
/* ---------------------------------------------------------------- */

.o2-transformer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .o2-transformer__grid { grid-template-columns: 0.8fr 1.2fr; } }

.o2-transformer-app { background: #111; border-radius: 16px; padding: 28px; color: #fff; }
.o2-transformer-app__loading { color: #888; font-size: 13px; }
.o2-ta-progress { height: 4px; background: #2a2a2a; border-radius: 2px; overflow: hidden; margin-bottom: 20px; }
.o2-ta-progress__bar { height: 100%; background: var(--o2-blue); transition: width .3s ease; }
.o2-ta-question { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.o2-ta-option {
	display: block;
	width: 100%;
	text-align: left;
	padding: 14px 16px;
	margin-bottom: 10px;
	background: transparent;
	border: 1px solid #2a2a2a;
	border-radius: 8px;
	color: #e5e5e5;
	cursor: pointer;
	font-size: 14px;
}
.o2-ta-option:hover { border-color: var(--o2-blue); background: rgba(37,99,235,0.1); }

.o2-ta-result { text-align: center; }
.o2-ta-gauge { position: relative; width: 200px; height: 200px; margin: 0 auto 24px; }
.o2-ta-gauge svg { transform: rotate(-90deg); }
.o2-ta-gauge__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.o2-ta-gauge__score { font-size: 46px; font-weight: 900; }
.o2-ta-cols { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: left; margin-top: 20px; }
@media (min-width: 640px) { .o2-ta-cols { grid-template-columns: 1fr 1fr; } }
.o2-ta-cols h4 { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--o2-blue); margin-bottom: 8px; }
.o2-ta-cols ul { list-style: none; margin: 0; padding: 0; }
.o2-ta-cols li { padding: 4px 0; font-size: 14px; }

/* ---------------------------------------------------------------- */
/* O2 STUDENT                                                         */
/* ---------------------------------------------------------------- */

.o2-student__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .o2-student__grid { grid-template-columns: 1fr 0.8fr; } }

.o2-student-preview { background: #111; border-radius: 20px; padding: 28px; max-width: 320px; margin: 0 auto; border: 1px solid #262626; }
.o2-student-preview__tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; color: #888; border: 1px solid #333; border-radius: 20px; padding: 3px 10px; margin-bottom: 16px; }
.o2-student-preview__greeting { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.o2-student-preview__belt { color: #5b8bff; font-weight: 700; margin: 0 0 20px; }
.o2-student-preview__stats { display: flex; justify-content: space-between; }
.o2-student-preview__stats div { text-align: center; }
.o2-student-preview__stats strong { display: block; color: #fff; font-size: 22px; font-weight: 900; }
.o2-student-preview__stats span { color: #888; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------------------------------------------------------------- */
/* VIDEOS                                                             */
/* ---------------------------------------------------------------- */

.o2-video-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.o2-video-grid--full { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); margin-top: 32px; }
@media (min-width: 640px) { .o2-video-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .o2-video-grid:not(.o2-video-grid--full) { grid-template-columns: repeat(4,1fr); } }

.o2-video-card { display: block; }
.o2-video-card__thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #222, #444); border-radius: var(--o2-radius); overflow: hidden; margin-bottom: 12px; }
.o2-video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.o2-video-card__placeholder { width: 100%; height: 100%; }
.o2-video-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; color: var(--o2-black); }
.o2-video-card h4 { font-size: 14px; font-weight: 800; margin: 0 0 4px; }
.o2-video-card p { font-size: 12px; color: var(--o2-gray-500); margin: 0; }

.o2-video-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.o2-video-filters a { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--o2-gray-300); border-radius: 20px; }
.o2-video-filters a.active, .o2-video-filters a:hover { background: var(--o2-black); color: #fff; border-color: var(--o2-black); }

.o2-video-single { max-width: 860px; }
.o2-video-placeholder { background: #1a1a1a; border-radius: 12px; padding: 80px 20px; text-align: center; color: #888; }
.o2-video-continue { color: #5b8bff; font-weight: 700; margin-top: 8px; }
.o2-prose--onDark { color: #ccc; }

/* ---------------------------------------------------------------- */
/* STATS                                                              */
/* ---------------------------------------------------------------- */

.o2-stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
@media (min-width: 768px) { .o2-stats-grid { grid-template-columns: repeat(3,1fr); } }
.o2-stat { padding: 12px 0; }
.o2-stat__num, .o2-stat__suffix { font-size: 34px; font-weight: 900; }
.o2-stat__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--o2-gray-500); margin-top: 4px; }

/* ---------------------------------------------------------------- */
/* CTA FINAL                                                          */
/* ---------------------------------------------------------------- */

.o2-cta-final { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; justify-content: space-between; }
@media (min-width: 768px) { .o2-cta-final { flex-direction: row; align-items: center; } }

/* ---------------------------------------------------------------- */
/* EXPANSÃO DA REDE (abrir academia / filiação)                       */
/* ---------------------------------------------------------------- */

.o2-expansion__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .o2-expansion__grid { grid-template-columns: 1fr 1fr; } }
.o2-expansion__card { background: #111; border: 1px solid #262626; border-radius: 16px; padding: 32px; }
.o2-expansion__card .o2-lead--onDark { max-width: none; margin-bottom: 20px; }

/* ---------------------------------------------------------------- */
/* FOOTER                                                             */
/* ---------------------------------------------------------------- */

.o2-footer { background: var(--o2-black); color: #ccc; padding: 64px 0 24px; }
.o2-footer__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; padding-bottom: 40px; }
@media (min-width: 900px) { .o2-footer__grid { grid-template-columns: 1.2fr repeat(auto-fit, minmax(120px, 1fr)); } }
.o2-footer__brand p { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; }
.o2-footer__col h4 { color: #666; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; }
.o2-footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.o2-footer__social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #333; color: #ccc; transition: border-color .2s ease, color .2s ease; }
.o2-footer__social a:hover { border-color: var(--o2-blue); color: var(--o2-blue); }
.o2-footer__col ul { list-style: none; margin: 0; padding: 0; }
.o2-footer__col li { margin-bottom: 10px; font-size: 13px; }
.o2-footer__col a:hover { color: var(--o2-blue); }
.o2-footer__bottom { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #1a1a1a; padding-top: 24px; font-size: 12px; color: #666; }
@media (min-width: 768px) { .o2-footer__bottom { flex-direction: row; justify-content: space-between; } }
.o2-footer__legal { display: flex; gap: 20px; }

/* ---------------------------------------------------------------- */
/* FORMS (cadastro/entrar)                                            */
/* ---------------------------------------------------------------- */

.o2-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.o2-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #ccc; }
.o2-form input, .o2-form select {
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #333;
	background: #111;
	color: #fff;
	font-size: 14px;
}
.o2-form-errors { background: rgba(220,38,38,0.15); border: 1px solid #dc2626; border-radius: 8px; padding: 12px 16px; margin-top: 16px; }
.o2-form-errors ul { margin: 0; padding-left: 18px; color: #fecaca; font-size: 13px; }
.o2-form-footnote { margin-top: 20px; color: #888; font-size: 13px; }
.o2-form-footnote a { color: var(--o2-blue); font-weight: 700; }
.o2-form-success { background: rgba(37,99,235,0.12); border: 1px solid var(--o2-blue); border-radius: 8px; padding: 24px; margin-top: 24px; color: #fff; }
.o2-form-success h3 { margin: 0 0 8px; }

/* ---------------------------------------------------------------- */
/* O2 STUDENT DASHBOARD (logged in)                                   */
/* ---------------------------------------------------------------- */

.o2-student-dash { background: var(--o2-black); color: #fff; min-height: 90vh; padding: 48px 0 80px; }
.o2-student-dash__greeting { font-size: 26px; font-weight: 900; margin: 0 0 8px; }
.o2-student-dash__belt { display: flex; align-items: center; gap: 10px; color: #5b8bff; font-weight: 800; margin-bottom: 24px; }
.o2-student-dash__belt-badge { width: 14px; height: 14px; border-radius: 3px; display: inline-block; border: 1px solid #444; }
.o2-student-dash__stats { display: flex; gap: 32px; margin-bottom: 32px; }
.o2-student-dash__stats strong { display: block; font-size: 30px; font-weight: 900; }
.o2-student-dash__stats span { font-size: 11px; color: #888; text-transform: uppercase; }
.o2-student-dash__menu { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.o2-student-dash__menu span { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 8px 14px; border: 1px solid #262626; border-radius: 20px; color: #ccc; }
.o2-student-dash__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .o2-student-dash__grid { grid-template-columns: 1fr 1fr; } }
.o2-curriculum-list, .o2-grad-list { list-style: none; margin: 0; padding: 0; }
.o2-curriculum-list__item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #1a1a1a; font-size: 14px; }
.o2-curriculum-list__item em { color: #666; font-style: normal; font-size: 12px; }
.o2-curriculum-list__item--completed em { color: #22c55e; }
.o2-curriculum-list__item--in_progress em { color: #5b8bff; }
.o2-grad-list li { padding: 8px 0; border-bottom: 1px solid #1a1a1a; font-size: 14px; }

/* ---------------------------------------------------------------- */
/* MISC                                                               */
/* ---------------------------------------------------------------- */

.o2-prose { max-width: 720px; }
.o2-prose p { line-height: 1.75; color: #333; }
.o2-callout { background: #fff3cd; border: 1px solid #ffe69c; border-radius: 8px; padding: 16px; margin-top: 24px; font-size: 13px; color: #664d03; }
.o2-timeline { list-style: none; margin: 24px 0 0; padding: 0; }
.o2-timeline li { padding: 14px 0; border-bottom: 1px solid #ddd; }

/* ---------------------------------------------------------------- */
/* O2 ACADEMY OS — página explicativa                                */
/* ---------------------------------------------------------------- */

.o2-modules-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 640px) { .o2-modules-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .o2-modules-grid { grid-template-columns: repeat(3,1fr); } }
.o2-module-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; }
.o2-module-card__num { display: block; color: var(--o2-blue); font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.o2-module-card h3 { font-size: 17px; font-weight: 900; text-transform: uppercase; margin: 0 0 10px; }
.o2-module-card p { font-size: 13px; color: var(--o2-gray-500); line-height: 1.6; margin: 0; }

.o2-steps-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
@media (min-width: 768px) { .o2-steps-grid { grid-template-columns: repeat(4,1fr); } }
.o2-step__num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--o2-blue); color: #fff; font-weight: 800; margin-bottom: 16px; }
.o2-step h3 { color: #fff; font-size: 15px; font-weight: 900; text-transform: uppercase; margin: 0 0 8px; }
.o2-step p { color: #999; font-size: 13px; line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------------- */
/* PAINEL EM AÇÃO (mock do dashboard com dados reais de demo)         */
/* ---------------------------------------------------------------- */

.o2-dashboard-mock { background: #0f0f0f; border: 1px solid #262626; border-radius: 16px; padding: 28px; margin-top: 40px; }
.o2-dashboard-mock__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #262626; }
.o2-dashboard-mock__header span:first-child { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; color: #888; }
.o2-dashboard-mock__badge { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; color: var(--o2-blue); border: 1px solid var(--o2-blue); border-radius: 20px; padding: 4px 10px; }
.o2-dashboard-mock__stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 28px; }
@media (min-width: 768px) { .o2-dashboard-mock__stats { grid-template-columns: repeat(6,1fr); } }
.o2-dashboard-mock__stats strong { display: block; color: #fff; font-size: 24px; font-weight: 900; }
.o2-dashboard-mock__stats span { color: #888; font-size: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.o2-dashboard-mock__bars-caption { color: #888; font-size: 12px; margin: 0 0 14px; }
.o2-dashboard-mock__bar { display: grid; grid-template-columns: 1fr 90px; align-items: center; gap: 12px; margin-bottom: 10px; }
.o2-dashboard-mock__bar-track { height: 8px; background: #262626; border-radius: 4px; overflow: hidden; }
.o2-dashboard-mock__bar-fill { height: 100%; background: var(--o2-blue); border-radius: 4px; }
.o2-dashboard-mock__bar span { font-size: 11px; color: #ccc; text-align: right; text-transform: uppercase; letter-spacing: 0.03em; }

.o2-demo-callout { background: #111; border: 1px solid var(--o2-blue); border-radius: 16px; padding: 28px; margin-top: 24px; }
.o2-demo-callout h3 { color: #fff; font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.o2-demo-callout p { color: #999; font-size: 13px; margin: 0 0 20px; }
.o2-demo-callout__creds { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.o2-demo-callout__creds > div { background: #0a0a0a; border-radius: 8px; padding: 12px 16px; }
.o2-demo-callout__creds strong { display: block; color: #5b8bff; font-size: 11px; text-transform: uppercase; margin-bottom: 6px; }
.o2-demo-callout__creds code { display: inline-block; color: #fff; font-size: 13px; margin-right: 10px; background: #1a1a1a; padding: 2px 8px; border-radius: 4px; }

/* ---------------------------------------------------------------- */
/* O2 STUDENT — landing pública (não logado)                         */
/* ---------------------------------------------------------------- */

.o2-student-demo { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; align-items: start; }
@media (min-width: 900px) { .o2-student-demo { grid-template-columns: 0.8fr 1.2fr; } }
.o2-student-demo__phone { display: flex; justify-content: center; }
.o2-student-demo__list { display: flex; flex-direction: column; gap: 28px; }
.o2-student-demo__item { display: flex; gap: 16px; }
.o2-student-demo__num { flex-shrink: 0; color: var(--o2-blue); font-weight: 800; font-size: 14px; }
.o2-student-demo__item h3 { color: #fff; font-size: 15px; font-weight: 900; text-transform: uppercase; margin: 0 0 6px; }
.o2-student-demo__item p { color: #999; font-size: 13px; line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------------- */
/* INSTALAR O APP                                                     */
/* ---------------------------------------------------------------- */

.o2-install-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 768px) { .o2-install-grid { grid-template-columns: repeat(2,1fr); } }
.o2-install-card { background: #111; border: 1px solid #262626; border-radius: 16px; padding: 28px; }
.o2-install-card h3 { color: #fff; font-size: 18px; font-weight: 900; margin: 0 0 20px; }
.o2-install-card ol { margin: 0; padding-left: 20px; color: #ccc; font-size: 14px; line-height: 1.9; }
.o2-install-card li { margin-bottom: 4px; }
.o2-install-card__note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #262626; color: #5b8bff; font-size: 13px; font-weight: 600; }
