/* arka escola: home em formato streaming. Noite + âmbar, fonte e relógio de meia hora da Arka. Visual único e escuro. */
body.arka-home {
	--noite: #070E1C;
	--noite-2: #0D182C;
	--noite-3: #15233D;
	--linha: rgba(255,255,255,.09);
	--texto: #F3F5FA;
	--muted: #9AA8C2;
	--ambar: #FFB547;
	--ambar-tinta: #1A1205;
	--azul-claro: #8DB0FF;
	margin: 0; background: var(--noite); color: var(--texto);
	font-family: var(--arka-font); font-size: 17px; line-height: 1.5;
	-webkit-font-smoothing: antialiased; overflow-x: hidden; color-scheme: dark;
}
body.arka-home * { box-sizing: border-box; }
body.arka-home h1, body.arka-home h2, body.arka-home h3 { margin: 0; text-wrap: balance; color: inherit; font-family: var(--arka-font); }
body.arka-home p { margin: 0; }
body.arka-home a { color: inherit; }
body.arka-home :focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 8px; }
.ah-wrap {
	max-width: 1280px; margin: 0 auto;
	padding-left: max(20px, env(safe-area-inset-left, 0px));
	padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ah-half {
	display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none;
	border: 1.6px solid currentColor;
	background: conic-gradient(currentColor 0 50%, transparent 50% 100%);
}

/* topo */
.ah-top { position: sticky; top: 0; z-index: 30; transition: background .2s ease; }
.admin-bar .ah-top { top: 32px; }
.ah-top.is-scrolled { background: rgba(7,14,28,.94); backdrop-filter: blur(10px); }
.ah-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.ah-lockup { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--texto) !important; }
.ah-lockup svg { width: 58px; height: 26px; display: block; }
.ah-lockup span {
	font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: lowercase;
	background: var(--ambar); color: var(--ambar-tinta); padding: 3px 9px 4px; border-radius: 7px; transform: translateY(2px);
}
.ah-nav { display: flex; align-items: center; gap: 22px; }
.ah-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.ah-nav a:hover { color: var(--texto); }

.ah-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--ambar); color: var(--ambar-tinta) !important; text-decoration: none !important; border: 0; cursor: pointer;
	font: 700 16px/1 var(--arka-font); padding: 16px 26px; border-radius: 10px; white-space: nowrap;
	transition: background .15s ease, transform .15s ease;
}
.ah-btn:hover { background: #FFC56B; }
.ah-btn:active { transform: translateY(1px); }
.ah-btn-sm { font-size: 14px; padding: 10px 16px; border-radius: 8px; }
.ah-nav .ah-btn { color: var(--ambar-tinta) !important; }
.ah-btn-ghost { background: rgba(255,255,255,.12); color: var(--texto) !important; }
.ah-btn-ghost:hover { background: rgba(255,255,255,.2); }
.ah-play::before { content: ""; display: block; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* destaque */
.ah-billboard { position: relative; margin-top: -58px; overflow: hidden; }
.ah-bb-img {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 820px);
	background-color: #2A2D33; background-position: 50% 22%; background-size: cover; background-repeat: no-repeat;
}
.ah-bb-img::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, var(--noite) 0%, rgba(7,14,28,.86) 22%, rgba(7,14,28,.25) 55%, rgba(7,14,28,0) 80%),
		linear-gradient(0deg, var(--noite) 0%, rgba(7,14,28,0) 34%);
}
.ah-bb-content { position: relative; z-index: 1; padding-block: 150px 96px; max-width: 640px; }
.ah-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ambar); letter-spacing: .08em; text-transform: uppercase; }
.ah-billboard h1 { margin-top: 18px; font-size: clamp(44px, 6.6vw, 92px); line-height: .95; font-weight: 800; letter-spacing: -.04em; }
.ah-billboard h1 em { font-style: normal; color: var(--ambar); }
.ah-lead { margin-top: 22px !important; font-size: clamp(18px, 2vw, 22px); color: #C7D1E4; max-width: 30ch; }
.ah-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.ah-meta { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted); }
.ah-meta b { color: var(--texto); font-weight: 600; }
.ah-meta span + span::before { content: "·"; margin-right: 18px; }

/* séries */
.ah-rows { padding-block: 8px 24px; }
.ah-row { margin-top: 44px; }
.ah-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ah-row-head h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.ah-row-head > span { font-size: 14px; color: var(--muted); }
.ah-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ambar); margin-bottom: 4px; }
.ah-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 24%); gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
	scrollbar-width: thin; scrollbar-color: var(--noite-3) transparent;
}
.ah-card { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ah-poster {
	position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden;
	padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between;
	transition: transform .2s ease, box-shadow .2s ease;
}
.ah-card:hover .ah-poster { transform: scale(1.03); box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); }
.ah-poster::after {
	content: attr(data-n); position: absolute; right: -4px; bottom: -30px;
	font-size: 132px; font-weight: 800; line-height: 1; letter-spacing: -.06em; color: rgba(255,255,255,.07);
}
.c-vis { background: radial-gradient(120% 120% at 0% 0%, #4A3410 0%, #1A1D2C 55%, #0D182C 100%); }
.c-ven { background: radial-gradient(120% 120% at 0% 0%, #17336B 0%, #10203E 55%, #0D182C 100%); }
.c-cla { background: radial-gradient(120% 120% at 0% 0%, #2B3C5C 0%, #142138 55%, #0D182C 100%); }
.ah-p-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 1; }
.ah-p-ep { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ambar); }
.ah-soon { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.45); color: var(--texto); padding: 5px 9px; border-radius: 6px; }
.ah-poster strong { position: relative; z-index: 1; font-size: 21px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; max-width: 14ch; }
.ah-card-text { display: flex; flex-direction: column; gap: 6px; }
.ah-card-sub { font-size: 15px; color: #C7D1E4; }
.ah-card-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ah-card-meta .ah-half { color: var(--ambar); width: 12px; height: 12px; }
.ah-card-meta b { color: var(--texto); font-weight: 600; }
.ah-badge { margin-left: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ambar); border: 1px solid rgba(255,181,71,.45); padding: 3px 7px; border-radius: 5px; }

/* série original */
.ah-series { margin-top: 72px; padding-block: 72px; background: linear-gradient(180deg, var(--noite) 0%, #0B1424 100%); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.ah-series-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.ah-key-art {
	position: relative; aspect-ratio: 4 / 5; max-width: 100%; max-height: 640px; border-radius: 18px; overflow: hidden;
	background-color: #2A2D33; background-position: 50% 20%; background-size: cover; background-repeat: no-repeat;
	box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.ah-key-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,14,28,.96) 0%, rgba(7,14,28,.2) 55%, rgba(7,14,28,0) 100%); }
.ah-key-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.ah-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ambar-tinta); background: var(--ambar); padding: 5px 9px; border-radius: 6px; }
.ah-key-copy h2 { margin-top: 14px; font-size: clamp(36px, 4.6vw, 58px); line-height: .94; letter-spacing: -.035em; font-weight: 800; }
.ah-key-copy p { margin-top: 10px; color: #C7D1E4; }
.ah-intro { color: #C7D1E4; font-size: 19px; max-width: 40ch; margin-bottom: 22px !important; }
.ah-season-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.ah-season-tabs button {
	font: 700 14px/1 var(--arka-font); padding: 11px 16px; border-radius: 8px; border: 0; cursor: pointer;
	background: rgba(255,255,255,.08); color: var(--muted);
}
.ah-season-tabs button[aria-selected="true"] { background: var(--texto); color: var(--noite); }
.ah-season-tabs button[disabled] { cursor: default; }
.ah-ep { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 12px; }
.ah-ep + .ah-ep { margin-top: 4px; }
.ah-ep:hover { background: rgba(255,255,255,.04); }
.ah-ep-thumb {
	aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; position: relative; overflow: hidden;
	background-color: #22262E; background-position: 50% 18%; background-size: cover;
}
.ah-ep-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(7,14,28,.55); }
.ah-ep-thumb span { position: absolute; left: 10px; bottom: 8px; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--ambar); }
.ah-ep h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.ah-ep p { color: var(--muted); font-size: 14px; margin-top: 4px !important; }
.ah-note { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--linha); color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.ah-note .ah-half { color: var(--ambar); }

/* quem apresenta */
.ah-host { padding-block: 88px; }
.ah-host-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 980px; }
.ah-host-photo { aspect-ratio: 1; max-width: 100%; border-radius: 50%; overflow: hidden; background: #E9E3DA; box-shadow: 0 0 0 6px var(--noite), 0 0 0 7px rgba(255,181,71,.6); }
.ah-host-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.ah-host blockquote { margin: 0; padding: 0; border: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.22; letter-spacing: -.02em; font-weight: 600; color: var(--texto); }
.ah-host blockquote em { font-style: normal; color: var(--ambar); }
.ah-host cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); font-size: 16px; }
.ah-host cite b { color: var(--texto); }

/* faça parte */
.ah-join { padding-block: 0 96px; }
.ah-join-box {
	position: relative; overflow: hidden; border-radius: 24px; padding: 56px;
	background: radial-gradient(120% 140% at 100% 100%, #4A3410 0%, #1A1D2C 50%, var(--noite-2) 100%);
	border: 1px solid var(--linha);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
}
.ah-join-box::after {
	content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%;
	border: 2.5px solid rgba(255,181,71,.4);
	background: conic-gradient(rgba(255,181,71,.12) 0 50%, transparent 50% 100%);
}
.ah-join-box h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: .98; letter-spacing: -.035em; font-weight: 800; position: relative; z-index: 1; }
.ah-join-box p { margin-top: 14px !important; color: #C7D1E4; font-size: 19px; max-width: 36ch; position: relative; z-index: 1; }
.ah-join-box .ah-btn { position: relative; z-index: 1; }
.ah-join-box small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; position: relative; z-index: 1; }

/* perguntas */
.ah-faq { max-width: 820px; padding-bottom: 96px; }
.ah-faq h2 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.ah-faq details { border-top: 1px solid var(--linha); }
.ah-faq details:last-child { border-bottom: 1px solid var(--linha); }
.ah-faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.ah-faq summary::-webkit-details-marker { display: none; }
.ah-faq summary::after { content: "+"; color: var(--ambar); font-size: 24px; line-height: 1; }
.ah-faq details[open] summary::after { content: "–"; }
.ah-faq details p { padding-bottom: 20px; color: var(--muted); max-width: 60ch; }

.ah-foot { border-top: 1px solid var(--linha); }
.ah-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; font-size: 14px; color: var(--muted); }
.ah-foot-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ah-foot-row a { text-decoration: none; color: var(--muted); }
.ah-foot-row a:hover { color: var(--texto); }

@media (max-width: 960px) {
	.ah-nav a:not(.ah-btn) { display: none; }
	.ah-series-grid { grid-template-columns: minmax(0, 1fr); }
	.ah-key-art { aspect-ratio: 16 / 10; }
	.ah-rail { grid-auto-columns: minmax(240px, 42%); }
	.ah-host-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ah-host-photo { width: 180px; }
}
@media (max-width: 782px) {
	.admin-bar .ah-top { top: 46px; }
}
@media (max-width: 640px) {
	body.arka-home { font-size: 16px; }
	.ah-bb-img { width: 100%; opacity: .55; }
	.ah-bb-img::after { background: linear-gradient(0deg, var(--noite) 8%, rgba(7,14,28,.55) 60%, rgba(7,14,28,.35) 100%); }
	.ah-bb-content { padding-block: 120px 56px; }
	.ah-ctas .ah-btn { flex: 1 1 100%; }
	.ah-rail { grid-auto-columns: 78%; }
	.ah-ep { grid-template-columns: 112px minmax(0, 1fr); }
	.ah-join-box { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; }
	.ah-join-box .ah-btn { width: 100%; }
	.ah-meta span + span::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ah-poster, .ah-btn { transition: none; }
	.ah-card:hover .ah-poster { transform: none; }
}

.ah-lockup .arka-lockup { height: 26px; width: auto; aspect-ratio: 4372 / 765; }

/* aulas por trilha */
a.ah-card { text-decoration: none; color: inherit; }
.ah-poster.has-img { background-size: cover; background-position: center; }
.ah-poster.has-img::after { opacity: .35; }
.ah-p-free { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--ambar); color: var(--ambar-tinta); padding: 4px 9px; border-radius: 999px; }
.ah-card-title { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--texto); }
.ah-empty { color: var(--muted); padding: 40px 0; }
