/*
Theme Name: Lúdica Onepage
Theme URI: https://somosaludica.com
Author: Lúdica
Author URI: https://somosaludica.com
Description: Onepage provisória da Lúdica HUB — a casa, departamentos (Music, Marketing, Eventos), agenda do mês, lançamentos dos artistas, INES e contato. Textos editáveis em Aparência > Personalizar > Lúdica — Onepage; agenda e lançamentos têm menu próprio no painel.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ludica
*/

/* ---------- Tokens ---------- */
:root {
	--vinho: #7b1418;
	--vinho-escuro: #5e0f12;
	--laranja: #ff8025;
	--preto: #060e14;
	--creme: #f4efea;
	--branco: #ffffff;
	--cinza: #6b6f73;
	--linha: rgba(6, 14, 20, 0.1);
	--linha-clara: rgba(255, 255, 255, 0.16);

	--font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gutter: clamp(20px, 5vw, 48px);
	--section: clamp(88px, 12vw, 160px);
	--radius: 22px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--preto);
	background: var(--creme);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--laranja); color: var(--preto); padding: 10px 16px; border-radius: 10px;
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia ---------- */
.eyebrow {
	font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--vinho); margin-bottom: 18px;
	display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); }
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }
.eyebrow--orange { color: var(--laranja); }

.section__title {
	font-size: clamp(36px, 5.6vw, 68px);
	line-height: 1.04; font-weight: 700; letter-spacing: -0.035em;
}
.section__text {
	font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--cinza);
	max-width: 620px; margin-top: 22px;
}
.muted { opacity: 0.45; font-weight: 500; }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	font: 600 15px/1 var(--font); letter-spacing: 0.01em; text-decoration: none;
	border: 1.5px solid transparent;
	transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--branco); color: var(--preto); }
.btn--light:hover { background: var(--laranja); }
.btn--ghost { color: var(--branco); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { border-color: var(--branco); background: rgba(255, 255, 255, 0.08); }
.btn--orange { background: var(--laranja); color: var(--preto); }
.btn--orange:hover { background: var(--branco); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(6, 14, 20, 0.92);
	color: var(--branco);
	transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header--over { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.is-solid,
.nav-open .site-header {
	background: rgba(6, 14, 20, 0.82);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
}
.admin-bar .site-header--over { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header--over { top: 46px; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { text-decoration: none; display: inline-flex; align-items: center; }
.logo--text { font-weight: 700; font-size: 28px; letter-spacing: -0.04em; line-height: 1; }
.logo__dot { color: var(--laranja); }
.logo__img { max-height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
	text-decoration: none; font-size: 14px; font-weight: 500;
	padding: 9px 14px; border-radius: 999px; color: rgba(255, 255, 255, 0.82);
	transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--branco); background: rgba(255, 255, 255, 0.08); }
.site-nav .site-nav__cta { background: var(--branco); color: var(--preto); margin-left: 8px; font-weight: 600; }
.site-nav .site-nav__cta:hover { background: var(--laranja); color: var(--preto); }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	position: relative; color: var(--branco);
}
.nav-toggle__bar {
	position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px;
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
.nav-open .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 880px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 72px 0 0 0; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px var(--gutter) 28px; background: rgba(6, 14, 20, 0.97);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav a { font-size: 22px; font-weight: 600; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--linha-clara); }
	.site-nav a:hover { background: transparent; }
	.site-nav .site-nav__cta { margin: 18px 0 0; text-align: center; border-radius: 999px; border: 0; font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	color: var(--branco); overflow: hidden; isolation: isolate;
	background:
		radial-gradient(1200px 700px at 85% 15%, rgba(255, 128, 37, 0.22), transparent 60%),
		linear-gradient(160deg, var(--vinho) 0%, var(--vinho-escuro) 45%, var(--preto) 100%);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(6, 14, 20, 0.35) 0%, rgba(6, 14, 20, 0.1) 35%, rgba(6, 14, 20, 0.85) 100%);
}
.hero:not(.hero--foto) .hero__shade { background: linear-gradient(180deg, transparent 50%, rgba(6, 14, 20, 0.5) 100%); }
.hero--foto .hero__shade::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(123, 20, 24, 0.55) 0%, transparent 70%);
	mix-blend-mode: multiply;
}

.hero__orbit {
	position: absolute; z-index: -1; color: rgba(255, 255, 255, 0.22);
	width: min(78vw, 860px); right: -12%; top: 50%; transform: translateY(-50%);
}
.hero__inner { padding-top: 140px; padding-bottom: clamp(72px, 11vh, 130px); }
.hero__title {
	font-size: clamp(44px, 8.4vw, 112px); line-height: 0.98; font-weight: 700;
	letter-spacing: -0.045em; max-width: 11.5ch;
}
.hero__lead {
	font-size: clamp(19px, 2vw, 25px); line-height: 1.45; font-weight: 500;
	max-width: 640px; margin-top: 30px;
}
.hero__support { font-size: 16px; color: rgba(255, 255, 255, 0.72); max-width: 520px; margin-top: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero__scroll {
	position: absolute; right: var(--gutter); bottom: 40px;
	width: 28px; height: 46px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 20px;
}
.hero__scroll span {
	position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px;
	border-radius: 2px; background: var(--branco); animation: scrolldot 2s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Órbita */
.orbit svg { width: 100%; height: auto; animation: orbitspin 90s linear infinite; }
.orbit__dot { fill: var(--laranja); }
@keyframes orbitspin { to { transform: rotate(360deg); } }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--cream { background: var(--creme); }
.section--white { background: var(--branco); }
.section--wine { background: var(--vinho); color: var(--branco); }
.section--wine .section__text { color: rgba(255, 255, 255, 0.75); }
.section--dark { background: var(--preto); color: var(--branco); overflow: hidden; }
.section--dark .section__text { color: rgba(255, 255, 255, 0.68); }

.section__head { margin-bottom: clamp(48px, 7vw, 80px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- HUB ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--branco); border-radius: var(--radius); padding: 36px 32px 40px;
	box-shadow: 0 1px 0 var(--linha);
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hub-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(6, 14, 20, 0.25); }
.hub-card__num { font-size: 14px; font-weight: 600; color: var(--cinza); letter-spacing: 0.08em; }
.hub-card__title { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; padding-top: 96px; }
.hub-card__hook { font-size: 17px; font-weight: 600; color: var(--vinho); margin-top: 10px; }
.hub-card__text { font-size: 15.5px; line-height: 1.6; color: var(--cinza); margin-top: 14px; }

.hub-card::after {
	content: ""; position: absolute; top: 32px; right: 32px;
	width: 52px; height: 52px; border-radius: 50%;
}
.hub-card--music::after { background: var(--vinho); }
.hub-card--marketing::after { background: var(--preto); }
.hub-card--eventos::after { background: var(--laranja); }

@media (max-width: 900px) {
	.hub-grid { grid-template-columns: 1fr; }
	.hub-card { min-height: 0; }
	.hub-card__title { padding-top: 56px; }
}

/* ---------- Agenda ---------- */
.agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha-clara); }
.agenda__item {
	display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 28px;
	padding: 28px 0; border-bottom: 1px solid var(--linha-clara);
	transition: background 0.3s var(--ease);
}
.agenda__date { display: flex; align-items: baseline; gap: 10px; }
.agenda__day { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.agenda__weekday { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.agenda__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.agenda__title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; flex-basis: 100%; }
.agenda__time { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.agenda__status { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.45); }
.agenda__item--passou { opacity: 0.45; }

.pill {
	display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: var(--branco);
}

@media (max-width: 640px) {
	.agenda__item { grid-template-columns: 76px 1fr; gap: 6px 18px; align-items: start; }
	.agenda__date { flex-direction: column; gap: 4px; }
	.agenda__day { font-size: 40px; }
	.agenda__action { grid-column: 2; margin-top: 10px; }
}

.empty {
	font-size: 20px; color: var(--cinza); padding: 40px 0;
	border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); max-width: 720px;
}
.empty--light { color: rgba(255, 255, 255, 0.8); border-color: var(--linha-clara); }

/* ---------- Lançamentos ---------- */
.releases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.release { text-decoration: none; color: inherit; display: block; }
.release__cover {
	position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
	background: linear-gradient(145deg, var(--vinho), var(--preto));
	box-shadow: 0 24px 40px -28px rgba(6, 14, 20, 0.45);
}
.release__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
a.release:hover .release__cover img { transform: scale(1.05); }
.release__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 96px; font-weight: 700; color: rgba(255, 255, 255, 0.9); letter-spacing: -0.04em;
}
.release__badge {
	position: absolute; left: 12px; top: 12px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	background: var(--laranja); color: var(--preto); padding: 6px 11px; border-radius: 999px;
}
.release__meta { padding-top: 16px; }
.release__artist { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vinho); }
.release__title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-top: 4px; }
.release__date { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--cinza); margin-top: 6px; }
.release__cta { font-weight: 600; color: var(--preto); transition: color 0.2s; }
a.release:hover .release__cta { color: var(--vinho); }

@media (max-width: 1000px) { .releases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .releases { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } .release__title { font-size: 16px; } }

/* ---------- INES ---------- */
.ines__orbit {
	position: absolute; color: rgba(255, 128, 37, 0.18);
	width: min(90vw, 900px); left: -18%; top: 50%; transform: translateY(-50%); pointer-events: none;
}
.ines__inner { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ines__brand { display: flex; flex-direction: column; gap: 14px; }
.ines__wordmark {
	position: relative; display: inline-flex; align-items: flex-start;
	font-size: clamp(88px, 15vw, 196px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85;
}
.ines__pulse {
	position: relative; width: 0.12em; height: 0.12em; margin-left: 0.06em; margin-top: 0.04em;
	border-radius: 50%; background: var(--laranja);
}
.ines__pulse::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--laranja);
	animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }
.ines__powered { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.02em; padding-left: 6px; }
.ines__copy .section__title { font-size: clamp(32px, 4.4vw, 54px); }
.ines__copy .btn { margin-top: 36px; }

@media (max-width: 900px) {
	.ines__inner { grid-template-columns: 1fr; }
}

/* ---------- Contato ---------- */
.contato__title {
	font-size: clamp(48px, 9vw, 128px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95;
	color: var(--vinho); max-width: 10ch;
}
.contato__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 56px; }
.contato__card {
	display: flex; flex-direction: column; gap: 8px; text-decoration: none;
	background: var(--branco); border-radius: var(--radius); padding: 28px 28px 30px;
	transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
a.contato__card:hover { transform: translateY(-4px); background: var(--preto); color: var(--branco); }
.contato__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cinza); }
a.contato__card:hover .contato__label { color: var(--laranja); }
.contato__value { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.015em; word-break: break-word; }
.contato__value--small { font-size: 16px; font-weight: 500; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--preto); color: rgba(255, 255, 255, 0.6); padding: 56px 0; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.site-footer__logo { color: var(--branco); }
.site-footer__deps span { color: var(--laranja); padding: 0 4px; }

/* ---------- Páginas internas ---------- */
.page { padding: 140px 0 var(--section); background: var(--branco); }
.page__title { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 32px; }
.page__content p, .page__content ul, .page__content ol { margin: 0 0 1.2em; }
.page__content h2, .page__content h3 { margin: 1.6em 0 0.6em; letter-spacing: -0.02em; }

/* ---------- Animações de entrada ---------- */
.js-reveal .reveal {
	opacity: 0; translate: 0 28px;
	transition: opacity 0.9s var(--ease), translate 0.9s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s var(--ease);
}
.js-reveal .reveal.is-in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ajustes mobile */
@media (max-width: 700px) {
	.release__date { flex-direction: column; gap: 6px; }
}
@media (max-width: 900px) {
	.ines__orbit { opacity: 0.35; left: 30%; top: 8%; transform: none; width: 120vw; }
}
