/*
Theme Name:        Bolões da Lotofácil
Theme URI:         https://boloeslotofacil.com.br
Author:            Hypermedia
Author URI:        https://hypermedia.com.br
Description:        Tema WordPress para o site "Bolões da Lotofácil" — landing de alta conversão com hero, estatísticas, seção "Escolha seu Bolão" (integrada ao plugin Bolões da Lotofácil), tecnologia e transparência. Autossuficiente, sem build.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.6
Requires PHP:      7.4
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       boloeslotofacil
Tags:              custom-menu, featured-images, full-width-template, translation-ready, one-column
*/

/* ==========================================================================
   Tokens de design (fiéis ao projeto original em OKLCH)
   ========================================================================== */
:root {
	--radius: 0.875rem;
	--background: oklch(0.14 0.035 275);
	--foreground: oklch(0.97 0.005 280);
	--card: oklch(0.2 0.04 278);
	--primary: oklch(0.6 0.25 348);
	--primary-foreground: oklch(0.99 0 0);
	--secondary: oklch(0.26 0.05 280);
	--muted-foreground: oklch(0.75 0.045 275);
	--border: oklch(1 0 0 / 9%);
	--teal: oklch(0.82 0.15 190);
	--gold: oklch(0.8 0.16 82);
	--violet: oklch(0.65 0.22 300);
	--sky: oklch(0.72 0.14 240);

	--gradient-magenta: linear-gradient(100deg, oklch(0.66 0.26 350), oklch(0.52 0.22 340));
	--gradient-text: linear-gradient(95deg, oklch(0.72 0.24 350), oklch(0.6 0.26 345));
	--shadow-glow: 0 0 45px -8px oklch(0.6 0.25 348 / 0.65);
	--glass: oklch(0.22 0.045 278 / 0.65);

	--wrap: 1280px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--foreground);
	background-color: var(--background);
	background-image:
		radial-gradient(60% 45% at 80% 0%, oklch(0.4 0.18 330 / 0.28), transparent 70%),
		radial-gradient(55% 40% at 0% 10%, oklch(0.35 0.12 275 / 0.35), transparent 70%),
		radial-gradient(70% 50% at 50% 100%, oklch(0.35 0.14 300 / 0.2), transparent 70%);
	background-attachment: fixed;
	font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4 {
	margin: 0;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

.blft-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}

.blft-muted { color: var(--muted-foreground); }
.blft-teal { color: var(--teal); }
.blft-sky { color: var(--sky); }
.blft-violet { color: var(--violet); }
.blft-gold { color: var(--gold); }

/* ==========================================================================
   Utilidades visuais (glass, botão magenta, gradiente de texto, float)
   ========================================================================== */
.glass {
	background: var(--glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid oklch(1 0 0 / 0.08);
}

.text-gradient-magenta {
	background-image: var(--gradient-text);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.btn-magenta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	background-image: var(--gradient-magenta);
	color: var(--primary-foreground);
	box-shadow: var(--shadow-glow);
	position: relative;
	overflow: hidden;
	border: 0;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-magenta:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 60px -6px oklch(0.6 0.25 348 / 0.85);
	color: var(--primary-foreground);
}

.btn-magenta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 35%, oklch(1 0 0 / 0.35) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: blft-shine 3.6s ease-in-out infinite;
	pointer-events: none;
}

.float-slow {
	animation: blft-floaty 6s ease-in-out infinite;
}

@keyframes blft-shine {
	0%, 60% { transform: translateX(-120%); }
	100% { transform: translateX(120%); }
}

@keyframes blft-floaty {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn-magenta::after,
	.float-slow { animation: none; }
}

/* Ícones (lucide inline) */
.blft-ic {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}
.blft-ic--sm { width: 16px; height: 16px; }
.blft-ic--lg { width: 28px; height: 28px; }

/* ==========================================================================
   Cabeçalho fixo
   ========================================================================== */
.blft-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
}

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

.blft-logo img {
	height: 40px;
	width: auto;
}

.blft-badge {
	display: none;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--border);
	background: color-mix(in oklch, var(--secondary) 60%, transparent);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 12px;
	color: var(--muted-foreground);
	line-height: 1.2;
}

.blft-nav {
	display: none;
	align-items: center;
	gap: 24px;
	font-size: 14px;
}

.blft-nav a {
	color: var(--muted-foreground);
	transition: color 0.2s ease;
}

.blft-nav a:hover {
	color: var(--foreground);
}

.blft-burger {
	display: inline-flex;
	padding: 8px;
	border-radius: 10px;
	background: transparent;
	border: 0;
	color: var(--foreground);
	cursor: pointer;
	transition: background 0.2s ease;
}

.blft-burger:hover {
	background: var(--secondary);
}

.blft-burger .blft-ic { width: 26px; height: 26px; }
.blft-burger__close { display: none; }
.blft-header.is-open .blft-burger__open { display: none; }
.blft-header.is-open .blft-burger__close { display: block; }

.blft-mobile {
	overflow: hidden;
	max-height: 0;
	border-top: 1px solid transparent;
	transition: max-height 0.3s ease, border-color 0.3s ease;
}

.blft-header.is-open .blft-mobile {
	max-height: 320px;
	border-top-color: var(--border);
}

.blft-mobile__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 24px 16px;
}

.blft-mobile__list a {
	color: var(--muted-foreground);
	font-size: 14px;
	padding: 12px 8px;
	border-radius: 10px;
	transition: background 0.2s ease, color 0.2s ease;
}

.blft-mobile__list a:hover {
	background: var(--secondary);
	color: var(--foreground);
}

@media (min-width: 640px) {
	.blft-badge { display: flex; }
}
@media (min-width: 1024px) {
	.blft-nav { display: flex; }
	.blft-burger { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.blft-main {
	padding-bottom: 112px;
}

.blft-hero {
	padding-top: 120px;
}

.blft-hero__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.blft-hero__title {
	font-size: clamp(2.4rem, 7vw, 3.75rem);
	font-weight: 800;
	line-height: 1.05;
}

.blft-hero__lead {
	margin-top: 20px;
	max-width: 32rem;
	color: var(--muted-foreground);
	font-size: 1.05rem;
}

.blft-hero__lead strong {
	color: var(--foreground);
	font-weight: 600;
}

.blft-hero__cta {
	margin-top: 32px;
	border-radius: 999px;
	padding: 16px 32px;
	font-size: 0.95rem;
}

.blft-hero__art {
	position: relative;
}

.blft-hero__art img {
	width: 100%;
	max-width: 32rem;
	margin: 0 auto;
	filter: drop-shadow(0 25px 60px oklch(0.6 0.25 348 / 0.35));
}

.blft-hero__note {
	position: absolute;
	bottom: 24px;
	right: 8px;
	transform: rotate(-8deg);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--muted-foreground);
}

/* Stats */
.blft-stats {
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	border-radius: 18px;
	padding: 16px;
}

.blft-stat {
	display: flex;
	align-items: center;
	gap: 12px;
}

.blft-stat__ico {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: color-mix(in oklch, var(--secondary) 60%, transparent);
}

.blft-stat__num {
	font-size: 1.35rem;
	font-weight: 800;
}

.blft-stat__label {
	font-size: 0.75rem;
	line-height: 1.2;
	color: var(--muted-foreground);
}

@media (min-width: 768px) {
	.blft-hero { padding-top: 144px; }
	.blft-wrap { padding-left: 32px; padding-right: 32px; }
	.blft-hero__grid { }
	.blft-stats { grid-template-columns: repeat(4, 1fr); padding: 24px; }
	.blft-stat__num { font-size: 1.6rem; }
	.blft-stat__label { font-size: 0.85rem; }
}
@media (min-width: 1024px) {
	.blft-hero__grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Título de seção
   ========================================================================== */
.blft-section {
	padding-top: 64px;
	scroll-margin-top: 96px;
}

.blft-sectitle {
	margin-bottom: 28px;
}

.blft-sectitle__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.blft-sectitle__bar {
	height: 3px;
	width: 40px;
	border-radius: 999px;
	background: var(--primary);
	flex: none;
}

.blft-sectitle h2 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 800;
}

.blft-sectitle p {
	margin-top: 12px;
	max-width: 42rem;
	color: var(--muted-foreground);
	font-size: 0.95rem;
}

@media (min-width: 768px) {
	.blft-section { padding-top: 96px; }
	.blft-sectitle p { padding-left: 56px; font-size: 1rem; }
}

/* ==========================================================================
   Planos (fallback quando o plugin não está ativo)
   ========================================================================== */
.blft-planos {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.blft-plano {
	position: relative;
}

.blft-plano__badge {
	position: absolute;
	top: -12px;
	left: 20px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 8px;
	background: var(--gold);
	color: var(--background);
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.blft-plano__card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 18px;
	padding: 20px;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blft-plano__card:hover {
	transform: scale(1.01);
	border-color: color-mix(in oklch, var(--primary) 50%, transparent);
	box-shadow: 0 0 35px -12px oklch(0.6 0.25 348 / 0.7);
}

.blft-plano.is-destaque .blft-plano__card {
	border-color: color-mix(in oklch, var(--gold) 70%, transparent);
	box-shadow: 0 0 35px -10px oklch(0.8 0.16 82 / 0.6);
}

.blft-plano.is-destaque .blft-plano__card:hover {
	box-shadow: 0 0 45px -8px oklch(0.8 0.16 82 / 0.75);
}

.blft-plano__id {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 16px;
}

.blft-plano__ico {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: none;
	border-radius: 12px;
	border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
	color: var(--primary);
	background: color-mix(in oklch, var(--secondary) 60%, transparent);
}

.blft-plano.is-destaque .blft-plano__ico {
	border-color: color-mix(in oklch, var(--gold) 40%, transparent);
	color: var(--gold);
}

.blft-plano__nome { font-size: 1.1rem; font-weight: 700; }
.blft-plano__desc { font-size: 0.9rem; color: var(--muted-foreground); }

.blft-plano__nums {
	display: flex;
	align-items: center;
	gap: 32px;
}

.blft-plano__num b { display: block; font-size: 1.35rem; font-weight: 800; }
.blft-plano__num span { font-size: 0.75rem; color: var(--muted-foreground); }

.blft-plano__tag {
	border-radius: 999px;
	border: 1px solid color-mix(in oklch, var(--violet) 40%, transparent);
	color: var(--muted-foreground);
	padding: 8px 16px;
	text-align: center;
	font-size: 0.75rem;
}

.blft-plano.is-destaque .blft-plano__tag {
	border-color: color-mix(in oklch, var(--gold) 40%, transparent);
	color: var(--gold);
}

.blft-plano__btn {
	border-radius: 12px;
	padding: 12px 28px;
	font-size: 0.85rem;
}

@media (min-width: 768px) {
	.blft-plano__card {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		padding: 24px;
	}
	.blft-plano__nums { gap: 40px; }
}

/* ==========================================================================
   Tecnologia
   ========================================================================== */
.blft-tech-grid {
	display: grid;
	gap: 16px;
}

.blft-tech {
	border-radius: 18px;
	padding: 24px;
}

.blft-tech__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.blft-tech__head h3 { font-weight: 700; }
.blft-tech__head p { font-size: 0.85rem; color: var(--muted-foreground); }

.blft-ai-row {
	margin-top: 20px;
	display: flex;
	gap: 12px;
}

.blft-ai-badge {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: color-mix(in oklch, var(--secondary) 60%, transparent);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--muted-foreground);
}

.blft-bars {
	margin-top: 24px;
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 56px;
}

.blft-bars span {
	flex: 1;
	border-radius: 3px;
	background: color-mix(in oklch, var(--sky) 70%, transparent);
	transition: height 0.6s ease;
}

.blft-tech__center {
	margin-top: 24px;
	display: flex;
	height: 56px;
	align-items: center;
	justify-content: center;
	color: var(--violet);
}

.blft-tech__center .blft-ic { width: 48px; height: 48px; }

.blft-transparencia {
	margin-top: 16px;
	display: grid;
	gap: 16px;
	border-radius: 18px;
	padding: 20px;
	font-size: 0.85rem;
	color: var(--muted-foreground);
	scroll-margin-top: 96px;
}

.blft-transparencia span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

@media (min-width: 640px) {
	.blft-transparencia { grid-template-columns: repeat(3, 1fr); }
	.blft-transparencia span:nth-child(2) {
		border-left: 1px solid var(--border);
		border-right: 1px solid var(--border);
	}
}
@media (min-width: 768px) {
	.blft-tech-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Banner + disclaimer
   ========================================================================== */
.blft-banner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	overflow: hidden;
	border-radius: 18px;
	padding: 24px;
	background-image: linear-gradient(100deg, oklch(0.28 0.12 320 / 0.6), transparent);
}

.blft-banner img { height: 56px; width: auto; }
.blft-banner h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.blft-banner p { font-size: 0.85rem; color: var(--muted-foreground); }

.blft-disclaimer {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 18px;
	border: 1px solid var(--border);
	padding: 16px 20px;
	font-size: 0.75rem;
	color: var(--muted-foreground);
}

.blft-disclaimer p { max-width: 36rem; line-height: 1.6; }
.blft-disclaimer span { display: flex; align-items: center; gap: 8px; }

@media (min-width: 768px) {
	.blft-banner { flex-direction: row; gap: 40px; }
	.blft-banner p { margin-left: auto; max-width: 20rem; }
	.blft-banner h3 { font-size: 1.5rem; }
	.blft-disclaimer { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ==========================================================================
   Barra fixa inferior
   ========================================================================== */
.blft-sticky {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 40;
	border-top: 1px solid var(--border);
	background: color-mix(in oklch, var(--background) 80%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 12px;
	padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.blft-sticky a {
	display: flex;
	max-width: 48rem;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-radius: 12px;
	padding: 16px 24px;
	font-size: 0.9rem;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.blft-footer {
	border-top: 1px solid var(--border);
	padding: 28px 0 40px;
	text-align: center;
	font-size: 0.8rem;
	color: var(--muted-foreground);
}

.blft-footer a { color: var(--foreground); }

/* Rodapé fica acima da barra fixa */
body.blft-has-sticky .blft-footer { margin-bottom: 84px; }

/* ==========================================================================
   Integração com o plugin (seção "Escolha seu Bolão")
   O plugin já traz .blf-scope; aqui só garantimos o alinhamento de largura.
   ========================================================================== */
.blft-section .blf-lista {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
